From bd70a6290e5e70951ec8e095dfce17ac32f8d60f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Fri, 29 Apr 2016 11:15:07 +0200 Subject: [PATCH] fixed to work correctly on free --- actors/src/udsactor/linux/operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actors/src/udsactor/linux/operations.py b/actors/src/udsactor/linux/operations.py index ed6eaea1e..42b328d8f 100644 --- a/actors/src/udsactor/linux/operations.py +++ b/actors/src/udsactor/linux/operations.py @@ -57,7 +57,7 @@ def _getMacAddr(ifname): try: s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) info = bytearray(fcntl.ioctl(s.fileno(), 0x8927, struct.pack(str('256s'), ifname[:15]))) - return six.text_type(''.join(['%02x:' % char for char in info[18:24]])[:-1]) + return six.text_type(''.join(['%02x:' % char for char in info[18:24]])[:-1]).upper() except Exception: return None