Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/networking.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-11-29 21:51:39 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-11-29 21:51:39 +0000
commit783e8ac11708137453fd099ee1b55e01c473b931 (patch)
tree51c64cb2097fcdd264f9164a1bec36eb2208f183 /archinstall/lib/networking.py
parent0a085e51064ae1ea3b81ac18068f95aa9a379a2e (diff)
Added a lower() factor to mac addresses in get_interface_from_mac() to match list_interfaces().
Diffstat (limited to 'archinstall/lib/networking.py')
-rw-r--r--archinstall/lib/networking.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/networking.py b/archinstall/lib/networking.py
index 7fb1de0a..4829a58b 100644
--- a/archinstall/lib/networking.py
+++ b/archinstall/lib/networking.py
@@ -20,4 +20,4 @@ def list_interfaces(skip_loopback=True):
return interfaces
def get_interface_from_mac(mac):
- return list_interfaces().get(mac, None) \ No newline at end of file
+ return list_interfaces().get(mac.lower(), None) \ No newline at end of file