Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dddd returning as valid V6 address #59

Open
keverw opened this issue Aug 20, 2016 · 0 comments
Open

dddd returning as valid V6 address #59

keverw opened this issue Aug 20, 2016 · 0 comments

Comments

@keverw
Copy link

keverw commented Aug 20, 2016

require('ip').isV6Format('dddd')

I checked on http://www.helpsystems.com/intermapper/ipv6-test-address-validation and it's invalid according to that. and also the inet_pton function http://locutus.io/php/network/inet_pton/ throws an error with dddd.

So it seems like the isV6Format function of node-ip has a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant