I have the following interface in my ifconfig:
enc0: flags=0<> metric 0 mtu 1536
The constructor call fails:
ifdata = Ifcfg(commands.getoutput('ifconfig -a'))
as:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.freebsd-8.4-RELEASE-amd64/egg/ifparser/ifconfig.py", line 106, in __init__
File "build/bdist.freebsd-8.4-RELEASE-amd64/egg/ifparser/ifconfig.py", line 116, in _process
ifparser.ifconfig.ParseError: 'enc0: flags=0<> metric 0 mtu 1536'
I have the following interface in my
ifconfig
:enc0: flags=0<> metric 0 mtu 1536
The constructor call fails:
ifdata = Ifcfg(commands.getoutput('ifconfig -a'))
as: