From d93a9a78a1733eef856d65feb9ccc73fd1e5bfe2 Mon Sep 17 00:00:00 2001 From: Ilya Verbitskiy Date: Thu, 21 Sep 2023 21:54:09 +0200 Subject: [PATCH] fixup! virtuerl: add mac addr handling --- minivirt/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minivirt/daemon.py b/minivirt/daemon.py index 626cbef..827b1c3 100644 --- a/minivirt/daemon.py +++ b/minivirt/daemon.py @@ -451,7 +451,7 @@ def CreateDomain(self, request, context): tap_name = virtuerl_dom["tap_name"] ip_addr = virtuerl_dom["ipv4_addr"] mac = virtuerl_dom["mac_addr"] - mac = ":".join(re.findall("..", mac)) + mac = ":".join(re.findall("..", mac.lower())) if ipv6_address: ip6_addr = virtuerl_dom["ipv6_addr"] except HTTPError as e: