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

IPv6 support #25

Open
eligrey opened this issue Oct 11, 2018 · 1 comment
Open

IPv6 support #25

eligrey opened this issue Oct 11, 2018 · 1 comment

Comments

@eligrey
Copy link

eligrey commented Oct 11, 2018

Does this fork of ipcat support ipv6? If not, you should look at @dsamarin's pull request that added IPv6 support to the Go implementation of ipcat to see what changes might be necessary.

@frewsxcv
Copy link
Contributor

i think we might be fine since ruby's IPAddr supports IPv6:

[7] pry(main)> IPAddr.new('fe80:cd00::211e:729c').to_i
=> 338292682821229838246455806028416971420

Integer === ip ? ip : IPAddr.new(ip).to_i

once the upstream ipcat merges that pull request, i can pull the datacenter data down to this repo and confirm

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

2 participants