nikp123 / wake-on-arp

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

Blocked by gateway message only on target IP match #2

Closed Falcosc closed 3 years ago

Falcosc commented 3 years ago

Avoid unnecessary messages because we only care about ARP requests for target IP

Change is not tested. I am still waiting for my Raspberry Pi

nikp123 commented 3 years ago

Me yesterday: Tries to optimize Me today: Realizes that I've completely failed lmao

i love how i missed something so obvious

nikp123 commented 3 years ago

Also I've just realized that my code was incorrect as well (due to it firing false messages when the targets don't match), oh me..