1
0
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:
Dan O'Reilly
2009-01-19 23:37:35 -05:00
parent ea4ab09984
commit 87539f75e7

View File

@@ -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):