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 a2dfb8db12871a2aa8d575e985da5d3533c2fab8..3bbdde107af8f15d4ed8b19b5c6f91a1c266af3a 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)], "")