From c0cce374c6c915e53b38601ea880c98a9d918ae8 Mon Sep 17 00:00:00 2001 From: Thomas Hooge Date: Mon, 4 Nov 2019 15:27:03 +0100 Subject: [PATCH] Fixed MAC address pattern --- lib/batman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/batman.py b/lib/batman.py index ee0a0fe..30e9a5a 100644 --- a/lib/batman.py +++ b/lib/batman.py @@ -22,7 +22,7 @@ class Batman(object): self.environ = env # compile regular expressions only once on startup - self.mac_addr_pattern = re.compile(r'(([a-z0-9]{2}:){5}[a-z0-9]{2})') + self.mac_addr_pattern = re.compile(r'(([a-f0-9]{2}:){5}[a-f0-9]{2})') def vis_data(self): return self.vis_data_batadv_vis()