ftao / python-ifcfg

Python cross-platform network interface discovery (ifconfig/ipconfig/ip)
BSD 3-Clause "New" or "Revised" License
55 stars 37 forks source link

not all interfaces listed #70

Open mos87 opened 1 year ago

mos87 commented 1 year ago

I have a interface named "wg0_BSSIntranet" this is listed via ifconfig but not from ifcfg

I assume the '_' might be the problem but from linux side it is a valid interface caracter ...

benjaoming commented 1 year ago

Hi! Thanks for reporting! Unfortunately, there is no standard for this output so various distros have different formats.

To solve this, please add a test case with your specific ifconfig output and then adapt the regex.