Merge pull request #275 from NvanAdrichem/master

Disable MAC learning on Wlan networks
This commit is contained in:
bharnden 2019-09-16 21:55:34 -07:00 committed by GitHub
commit b6d5f23201
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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