Fixed a problem with wakeonlan