Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0
-
None
-
None
Description
current implementation failing to check low limit:
private boolean isInRange(int address) { return ((address-low()) <= (high()-low())); }
suggested fix:
private boolean isInRange(int address) { normal = address-low(); return (normal>=0 && (normal <= (high()-low()))); }
Attachments
Issue Links
- is duplicated by
-
NET-260 SubnetUtils.SubnetInfo.isInRange(...) returns incorrect values
- Closed