Fix call to resolvconf when adding a DNS record (Debian: #691974)
This commit is contained in:
1 parent
bbfb2f3cd3
commit
056fd3b833
1 file changed
+1
-1
+1
-1
@@ -678,7 +678,7 @@ class BaseInterface(object):
|
||||
resolv_params += ''.join(valid_dns_list)
|
||||
|
||||
if self.resolvconf_cmd:
|
||||
cmd = [self.resolvconf_cmd, '-a', self.iface]
|
||||
cmd = [self.resolvconf_cmd, '-a', self.iface + '.wicd']
|
||||
if self.verbose: print cmd
|
||||
p = misc.Run(cmd, include_stderr=True, return_obj=True)
|
||||
p.communicate(input=resolv_params)
|
||||
|
||||
Reference in new issue
Block a user