1
0
mirror of https://github.com/gryf/wicd.git synced 2026-03-26 13:53:36 +01:00

Fix issues with the way disconnect scripts work.

Make flushing the route table more likely to work.
This commit is contained in:
Dan O'Reilly
2009-01-26 18:46:57 -05:00
parent ed9a0d63dc
commit d20dafa088
4 changed files with 25 additions and 15 deletions

View File

@@ -484,7 +484,7 @@ class WirelessInterface(Interface, wnettools.BaseWirelessInterface):
if self.verbose: print cmd
misc.Run(cmd)
def GetBSSID(self):
def GetBSSID(self, iwconfig=None):
""" Get the MAC address for the interface. """
if not self.iface: return ""
data = (self.iface + '\0' * 32)[:32]