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:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-05-20 08:13:57 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-05-20 08:13:57 -0400
commit9c8d55dd76171909da27c90944ef9a686f6426cf (patch)
tree8da5e3a43fc4adf99c78a97a30cb548d02737929 /archinstall/lib/networking.py
parentf137bc4076ec7e4e0914be466ef403810ab02fca (diff)
parent86fd64ef8ae804ae26bd02f90dbb780a8151f439 (diff)
Merge branch 'master' into post-installation-scripts
Diffstat (limited to 'archinstall/lib/networking.py')
-rw-r--r--archinstall/lib/networking.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall/lib/networking.py b/archinstall/lib/networking.py
index eb11a47e..0643c9cf 100644
--- a/archinstall/lib/networking.py
+++ b/archinstall/lib/networking.py
@@ -10,6 +10,7 @@ from .general import SysCommand
from .output import log
from .storage import storage
+
def get_hw_addr(ifname):
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
info = fcntl.ioctl(s.fileno(), 0x8927, struct.pack('256s', bytes(ifname, 'utf-8')[:15]))
@@ -35,6 +36,7 @@ def check_mirror_reachable():
return False
+
def enrich_iface_types(interfaces: dict):
result = {}
for iface in interfaces: