agnat / node_wake_on_lan

Wake-on-LAN utilities for node.js
MIT License
222 stars 24 forks source link

Stronger MAC validation #1

Closed thejh closed 12 years ago

thejh commented 13 years ago

Hello, the attached patch adds a check that ensures that the MAC is really hexadecimal. Before I added this, it also accepted MACs like 00:09:0A:05:-0:-0.