25 lines
1.2 KiB
Diff
25 lines
1.2 KiB
Diff
|
=== modified file 'wicd/networking.py'
|
||
|
--- wicd-1.7.0.orig/wicd/networking.py 2010-01-15 04:02:10 +0000
|
||
|
+++ wicd-1.7.0/wicd/networking.py 2010-01-27 19:06:21 +0000
|
||
|
@@ -215,8 +215,8 @@
|
||
|
if self.pre_disconnect_script:
|
||
|
print 'Running pre-disconnect script'
|
||
|
misc.ExecuteScript(expand_script_macros(self.pre_disconnect_script,
|
||
|
- 'pre-disconnection', (mac,
|
||
|
- name)),
|
||
|
+ 'pre-disconnection',
|
||
|
+ mac, name),
|
||
|
self.debug)
|
||
|
iface.ReleaseDHCP()
|
||
|
iface.SetAddress('0.0.0.0')
|
||
|
@@ -229,7 +229,7 @@
|
||
|
print 'Running post-disconnect script'
|
||
|
misc.ExecuteScript(expand_script_macros(self.post_disconnect_script,
|
||
|
'post-disconnection',
|
||
|
- (mac, name)),
|
||
|
+ mac, name),
|
||
|
self.debug)
|
||
|
|
||
|
def ReleaseDHCP(self):
|
||
|
|