allow 000 in the first byte of ip addresses
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 13 Dec 2005 14:56:35 +0000 (14:56 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 13 Dec 2005 14:56:35 +0000 (14:56 +0000)
lib/python/Components/config.py

index a2dfb8d..3bbdde1 100644 (file)
@@ -148,7 +148,7 @@ class configSequenceArg:
        def get(self, type, args = ()):
                # configsequencearg.get ("IP")
                if (type == "IP"):
-                       return (("."), [(1,255),(0,255),(0,255),(0,255)], "")
+                       return (("."), [(0,255),(0,255),(0,255),(0,255)], "")
                # configsequencearg.get ("MAC")
                if (type == "MAC"):
                        return ((":"), [(1,255),(1,255),(1,255),(1,255),(1,255),(1,255)], "")