nikp123 / wake-on-arp

An commandline daemon that wakes up a device on the local network when accessed
GNU General Public License v3.0
75 stars 4 forks source link

Fix endianess of subnet mask #15

Closed Falcosc closed 3 years ago

Falcosc commented 3 years ago

Subnetmask 25 did not work because 00000001 11111111 11111111 11111111 is not the correct little endian representation of 25 It should be 10000000 11111111 11111111 11111111

nikp123 commented 3 years ago

LGTM. Thanks