From 09896b008eb416b1ef05e1175a89458c981879a0 Mon Sep 17 00:00:00 2001 From: Niels van Adrichem Date: Wed, 11 Sep 2019 15:27:55 +0200 Subject: [PATCH] Disable MAC learning on Wlan networks --- daemon/core/nodes/network.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon/core/nodes/network.py b/daemon/core/nodes/network.py index 2359ac41..eb1b3592 100644 --- a/daemon/core/nodes/network.py +++ b/daemon/core/nodes/network.py @@ -991,6 +991,10 @@ class WlanNode(CoreNetwork): # mobility model such as scripted self.mobility = None + # TODO: move to startup method + if start: + utils.check_cmd([constants.BRCTL_BIN, "setageing", self.brname, "0"]) + def attach(self, netif): """ Attach a network interface.