akalongman / akalongman/php-ip-tools
Is wildcard_dec in processWithSlash function wrong when IP is valid IPv6?
Open
- Dominant language
- PHP
- Stars
- 147
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
**`$wildcard_dec = pow(2, (32 - $netmask)) - 1;`**
Is 32 should be 128?
And how large number calculate with '&' ?
Thank you.
Contributor guide
Assessment
This issue has not been assessed yet.