mdns-js / node-mdns-js

Pure JavaScript/NodeJS mDNS discovery implementation.
Apache License 2.0
161 stars 60 forks source link

Fixed to correctly check INADDR_ANY parameter #46

Closed mycoboco closed 8 years ago

mycoboco commented 9 years ago

The check for INADDR_ANY parameter while creating an Advertisement object always results in true, which sets networking.INADDR_ANY to false regardless of users' intent. This PR fixes the issue.