aboutsummaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/uuid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/uuid.py b/Lib/uuid.py
index 20b02da1ae4..36c956e2b0f 100644
--- a/Lib/uuid.py
+++ b/Lib/uuid.py
@@ -358,7 +358,7 @@ def _ifconfig_getnode():
def _ip_getnode():
"""Get the hardware address on Unix by running ip."""
# This works on Linux with iproute2.
- mac = _find_mac('ip', 'link list', [b'link/ether'], lambda i: i+1)
+ mac = _find_mac('ip', 'link', [b'link/ether'], lambda i: i+1)
if mac:
return mac