This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 198
Swapped private and public IP? #57
Comments
Hey @julianxhokaxhiu, good catch. Trouble was backwards logic on an array filter in lib/ip.js, line 388. That code has been like that for at least 3 years, surprised it wasn't caught sooner... The latests commits have the fix. |
Can you push / Did you push this to NPM? |
No, I haven't done a publish. Hey @indutny, could you do a publish please? I've already incremented the version number. |
Done, sorry for delay! |
Thank you! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I'm using your latest version of the package and I found a weirdo issue. Whenever I try to call the
.address()
API, I get swapped values. See the following snippet:Why? Any help is really appreciated.
Thanks in advance!
The text was updated successfully, but these errors were encountered: