True link equalizer (teql0 device) causes python-netifaces to misbehave
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netifaces (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
The usual workflow for netifaces modules, when you get the list of interfaces via netifaces.
Python 2.7.1+ (r271:86832, Feb 24 2011, 15:11:59)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import netifaces
>>> netifaces.
['lo', 'eth0', 'dummy0', 'teql0', 'tunl0', 'gre0', 'sit0', 'ip6tnl0']
>>> netifaces.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: You must specify a valid interface name.
The issue was mentioned by the author once ( http://
The fix for the issue was proposed at the author's page as well ("Well in a way, the problem is that the line ”found = TRUE;” should be above the test for a no-address entry. That way you'd get an empty dictionary rather than a ValueError."), would be great to either persuade author to fix it, or to fix it ourselves and propagate to Debian.
Still a problem with oneiric as well.
chuck