|
@@ -27,7 +27,7 @@ class Wake_on_lan(NeuronModule):
|
|
|
% (self.mac_address, self.broadcast_address, self.port))
|
|
|
|
|
|
# send the magic packet, the mac address format will be check by the lib
|
|
|
- # wol.send_magic_packet(mac_address, ip_address=broadcast_address, port=port)
|
|
|
+ wol.send_magic_packet(self.mac_address, ip_address=self.broadcast_address, port=self.port)
|
|
|
|
|
|
def _is_parameters_ok(self):
|
|
|
"""
|
|
@@ -42,4 +42,4 @@ class Wake_on_lan(NeuronModule):
|
|
|
raise InvalidParameterException(
|
|
|
"port argument must be an integer. Remove quotes in your configuration.")
|
|
|
|
|
|
- return True
|
|
|
+ return True
|