Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.

Commit

Permalink
Use local broadcast address
Browse files Browse the repository at this point in the history
  • Loading branch information
ercpe committed Dec 27, 2015
1 parent 1a340aa commit 1ef80b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymax/cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def discover(self, cube_serial=None, discovery_type=DISCOVERY_TYPE_IDENTIFY):

self.dump_bytes(payload, "Discovery packet")

send_socket.sendto(payload, ("10.10.10.255", 23272))
send_socket.sendto(payload, ("255.255.255.255", 23272))

recv_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
recv_socket.settimeout(10)
Expand Down

0 comments on commit 1ef80b0

Please sign in to comment.