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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user