Summary: | WRONG MESSAGE: The format of the specified IP address is not valid | ||
---|---|---|---|
Product: | knetworkconf | Reporter: | Raúl <raul.redondo> |
Component: | general | Assignee: | Juan Luis Baptiste <juan.baptiste> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Supplied info |
Description
Raúl
2006-02-15 01:13:11 UTC
Excuse me, message error is: "The format of the specified IP address is not valid." Created attachment 14703 [details]
Supplied info
I have the same problem. It's probably caused by 255 in adress, I can't enter ip in form xx.xx.255.xx SVN commit 550121 by thiago: Fix the address validator. 255 is obviously a valid part of an IP address. One should also note that the netmask validator is incomplete. It should check for a sequence of 1's followed by a sequence of 0's. Anything else is not a valid netmask. BUG:121991 M +1 -1 kaddressvalidator.cpp --- branches/KDE/3.5/kdeadmin/knetworkconf/knetworkconf/kaddressvalidator.cpp #550120:550121 @@ -43,7 +43,7 @@ return false; if ((i == 0) && (number == 0)) return false; - if ((number < 0) || (number >= 255)) + if ((number < 0) || (number > 255)) return false; if ((i == 3) && (number == 0)) return false; SVN commit 550122 by thiago: INTEGRATION:/branches/KDE/3.5/kdeadmin/knetworkconf/knetworkconf 550121 Fix the address validator. 255 is obviously a valid part of an IP address. One should also note that the netmask validator is incomplete. It should check for a sequence of 1's followed by a sequence of 0's. Anything else is not a valid netmask. CCBUG:121991 M +1 -1 kaddressvalidator.cpp --- trunk/KDE/kdeadmin/knetworkconf/knetworkconf/kaddressvalidator.cpp #550121:550122 @@ -43,7 +43,7 @@ return false; if ((i == 0) && (number == 0)) return false; - if ((number < 0) || (number >= 255)) + if ((number < 0) || (number > 255)) return false; if ((i == 3) && (number == 0)) return false; |