From d2fbbcda5316d0c6a0ed46229466b048cb6f7b4c Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 31 Mar 2019 15:56:55 +0200 Subject: [PATCH] Remove 1 byte from broadcast mac --- p4app/controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p4app/controller.py b/p4app/controller.py index 86dd230..f633200 100755 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -76,8 +76,8 @@ class L2Controller(object): # https://en.wikipedia.org/wiki/Solicited-node_multicast_address self.info['ndp_multicast'] = ipaddress.ip_network("ff02::1:ff00:0/104") - self.info['mac_addr'] = "00:00:0a:00:00:42" - self.info['mac_broadcast'] = "ff:ff:ff:ff:ff:ff:ff" + self.info['mac_addr'] = "00:00:0a:00:00:42" + self.info['mac_broadcast'] = "ff:ff:ff:ff:ff:ff" self.info['ipv6_link_local'] = ipaddress.ip_address("fe80::200:aff:fe00:42") self.info['v6_mask'] = 64