Update facts.py

Fixes #7093 --devel
This commit is contained in:
faust64 2014-04-21 19:44:47 +02:00
parent 149339f620
commit 78b9a11ccf

View file

@ -1721,7 +1721,9 @@ class GenericBsdIfconfigNetwork(Network):
if line:
words = line.split()
if re.match('^\S', line) and len(words) > 3:
if words[0] == 'pass':
continue
elif re.match('^\S', line) and len(words) > 3:
current_if = self.parse_interface_line(words)
interfaces[ current_if['device'] ] = current_if
elif words[0].startswith('options='):