Disable MAC learning on Wlan networks

This commit is contained in:
Niels van Adrichem 2019-09-11 15:27:55 +02:00
parent d9e7d37171
commit 09896b008e

View file

@ -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.