index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/networking.py | 3 |
diff --git a/archinstall/lib/networking.py b/archinstall/lib/networking.py index 7832cf07..7fb1de0a 100644 --- a/archinstall/lib/networking.py +++ b/archinstall/lib/networking.py @@ -18,3 +18,6 @@ def list_interfaces(skip_loopback=True): mac = getHwAddr(iface).replace(':', '-').lower() interfaces[mac] = iface return interfaces + +def get_interface_from_mac(mac): + return list_interfaces().get(mac, None)
\ No newline at end of file |