summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Hostbase/regex.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Hostbase/regex.py')
-rw-r--r--src/lib/Server/Hostbase/regex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Hostbase/regex.py b/src/lib/Server/Hostbase/regex.py
index 4e86293fb..2d9614da9 100644
--- a/src/lib/Server/Hostbase/regex.py
+++ b/src/lib/Server/Hostbase/regex.py
@@ -5,5 +5,5 @@ host = re.compile('^[a-z0-9-_]+(\.[a-z0-9-_]+)+$')
printq = re.compile('^[a-z0-9-]+$')
user = re.compile('^[a-z0-9-_\.@]+$')
location = re.compile('^[0-9]{3}-[a-zA-Z][0-9]{3}$|none|bmr|cave|dsl|evl|mobile|offsite|mural|activespaces')
-macaddr = re.compile('^[0-9abcdef]{2}(:[0-9abcdef]{2}){5}$')
+macaddr = re.compile('^[0-9abcdef]{2}(:[0-9abcdef]{2}){5}$|virtual')
ipaddr = re.compile('^[0-9]{1,3}(\.[0-9]{1,3}){3}$')