Skip to content

Release 1.02 Fix a bug: last_ip can't be compressed#74

Open
thianda91 wants to merge 3 commits intoautocracy:masterfrom
thianda91:master
Open

Release 1.02 Fix a bug: last_ip can't be compressed#74
thianda91 wants to merge 3 commits intoautocracy:masterfrom
thianda91:master

Conversation

@thianda91
Copy link

>>>IP('2001:0658:022a:cafe:0200::/120').strCompressed(3)

expected:

2001:658:22a:cafe:200::-2001:658:22a:cafe:200::ff

but Release 1.01 output:

2001:658:22a:cafe:200::-2001:0658:022a:cafe:0200:0000:0000:00ff

Now we can fix it!

@thianda91
Copy link
Author

After a few years, why the author ignore my suggestion. Isn't it useful?
Just add some lines in file IPy.py:

f736a51#diff-49161764545faea80130552e1a7f792e87c7b16aceeebde35b905f8a961205adR406-R411

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

Successfully merging this pull request may close these issues.

1 participant