Actions
Bug #1725
closedDHCPv6 non-common bitmask shows incorrect range
Start date:
07/29/2011
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1-IPv6
Affected Architecture:
Description
On the DHCPv6 page, when you have a non-common bitmask, showed range is incorrect. Example:
Address XXXX:XXXX:XXXX:XXXX::1
Subnet mask 65 bits
Available range XXXX:XXXX:XXXX:XXXX:0:0:0:1 - XXXX:XXXX:XXXX:XXXX:ffff:ffff:ffff:ffff
The available range should be :
Available range XXXX:XXXX:XXXX:XXXX:0:0:0:1 - XXXX:XXXX:XXXX:XXXX:7fff:ffff:ffff:ffff
Updated by Seth Mos over 13 years ago
The function that calculates this is currently a string operated function instead of proper math. We need to have this function rewritten by someone whom is better at calculus.
That rules me out.
Updated by Seth Mos about 13 years ago
- Status changed from New to Feedback
I've been able to create a new gen_subnetv6_max() function in about a hour or 2 of coding and testing. Should be resolved.
Actions