From 42bcf5967d7688def319ef0dba55a14656497c81 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Tue, 13 Dec 2005 14:56:35 +0000 Subject: [PATCH] allow 000 in the first byte of ip addresses --- lib/python/Components/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index a2dfb8db..3bbdde10 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -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)], "") -- 2.30.2