Disable MAC learning on Wlan networks
This commit is contained in:
parent
d9e7d37171
commit
09896b008e
1 changed files with 4 additions and 0 deletions
|
@ -991,6 +991,10 @@ class WlanNode(CoreNetwork):
|
||||||
# mobility model such as scripted
|
# mobility model such as scripted
|
||||||
self.mobility = None
|
self.mobility = None
|
||||||
|
|
||||||
|
# TODO: move to startup method
|
||||||
|
if start:
|
||||||
|
utils.check_cmd([constants.BRCTL_BIN, "setageing", self.brname, "0"])
|
||||||
|
|
||||||
def attach(self, netif):
|
def attach(self, netif):
|
||||||
"""
|
"""
|
||||||
Attach a network interface.
|
Attach a network interface.
|
||||||
|
|
Loading…
Reference in a new issue