mirror of
https://github.com/gryf/wicd.git
synced 2026-03-14 05:35:49 +01:00
Make sure it's possible to stop a dhcp client that's in the process of getting a lease.
Have gui.py trigger connection status updates every .5 seconds if in a connecting state. Fix typo in wicd-client.py
This commit is contained in:
@@ -453,7 +453,8 @@ class BaseInterface(object):
|
||||
cmd = self._get_dhcp_command('connect')
|
||||
#cmd = self.DHCP_CMD + " " + self.iface
|
||||
if self.verbose: print cmd
|
||||
pipe = misc.Run(cmd, include_stderr=True, return_pipe=True)
|
||||
self.dhcp_object = misc.Run(cmd, include_stderr=True, return_obj=True)
|
||||
pipe = self.dhcp_object.stdout
|
||||
|
||||
DHCP_CLIENT = self.DHCP_CLIENT
|
||||
if DHCP_CLIENT == misc.DHCLIENT:
|
||||
|
||||
Reference in New Issue
Block a user