bat-serjo / PyIface

Python module to control network interfaces.
GNU General Public License v3.0
21 stars 10 forks source link

iface.py: Fix getIfaces and refactor file #11

Closed alexvasiu closed 6 years ago

alexvasiu commented 6 years ago

Interfaces index won't be one after another, so it's easier to get interfaces name from /sys/class/net.

Signed-off-by: Alexandru Vasiu alexandru.vasiu@ni.com

alexvasiu commented 6 years ago

@bat-serjo May you take a look at this?

bat-serjo commented 6 years ago

Done. Sorry for the delay.