Merge pull request #275 from NvanAdrichem/master
Disable MAC learning on Wlan networks
This commit is contained in:
commit
b6d5f23201
1 changed files with 4 additions and 0 deletions
|
@ -1129,6 +1129,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.
|
||||
|
|
Loading…
Reference in a new issue