You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just recently started working with your classes and realized that the number of hosts for a 64 bit mask in an IPv6 address is being erroneously returned.
Delving into the framework I noticed that you're using bcpow function for IPv6 networks and this keeps returning an unexpected value. In fact after testing with different bit masks, it always caps at 9,223,372,036,854,775,808.
I don't know your reasons for not using the pow function but bcpow is completely breaking IPv6.
The text was updated successfully, but these errors were encountered:
petski
added a commit
to petski/IPTools
that referenced
this issue
Mar 17, 2017
Hi,
Unfortunately, this error is still not fixed. The solution from the suggested commit works perfectly for me.
Can't you accept the fix and tag a new version?
That would be awesome!
Thanks!
Hello,
Just recently started working with your classes and realized that the number of hosts for a 64 bit mask in an IPv6 address is being erroneously returned.
Delving into the framework I noticed that you're using bcpow function for IPv6 networks and this keeps returning an unexpected value. In fact after testing with different bit masks, it always caps at 9,223,372,036,854,775,808.
I don't know your reasons for not using the pow function but bcpow is completely breaking IPv6.
The text was updated successfully, but these errors were encountered: