mirror of
https://github.com/gryf/wicd.git
synced 2026-01-03 12:24:14 +01:00
Fix bug that was keeping DHCP release from working.
This commit is contained in:
@@ -476,7 +476,8 @@ class BaseInterface(object):
|
||||
def ReleaseDHCP(self):
|
||||
""" Release the DHCP lease for this interface. """
|
||||
if not self.iface: return False
|
||||
cmd = self.DHCP_RELEASE + " " + self.iface + " 2>/dev/null"
|
||||
cmd = self.DHCP_RELEASE + " " + self.iface
|
||||
if self.verbose: print cmd
|
||||
misc.Run(cmd)
|
||||
|
||||
def FlushRoutes(self):
|
||||
|
||||
Reference in New Issue
Block a user