From 783e8ac11708137453fd099ee1b55e01c473b931 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 29 Nov 2020 21:51:39 +0000 Subject: Added a lower() factor to mac addresses in get_interface_from_mac() to match list_interfaces(). --- archinstall/lib/networking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib/networking.py') 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 -- cgit v1.2.3-70-g09d2