diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-04-26 22:45:41 +0100 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-04-26 22:45:41 +0100 |
commit | 3cc542c5f70a574c690d2730c31cda81e9b3da66 (patch) | |
tree | 4dd48a0074e6a4010921dd7b766b9acba5e060f7 /python | |
parent | cff252427c1aa9c8fe0cf7a305c2a5a294c71773 (diff) | |
download | vyos-1x-3cc542c5f70a574c690d2730c31cda81e9b3da66.tar.gz vyos-1x-3cc542c5f70a574c690d2730c31cda81e9b3da66.zip |
dhcp: T2379: fix dhcp stop
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/ifconfig/dhcp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/ifconfig/dhcp.py b/python/vyos/ifconfig/dhcp.py index d4ff9c2cd..3122147a3 100644 --- a/python/vyos/ifconfig/dhcp.py +++ b/python/vyos/ifconfig/dhcp.py @@ -187,14 +187,14 @@ class _DHCPv6 (_DHCP): # stop dhclient cmd = 'start-stop-daemon' - cmd += ' --start' + cmd += ' --stop' cmd += ' --oknodo' cmd += ' --quiet' cmd += ' --pidfile {pid}' self._cmd(cmd.format(**self.file)) # accept router announcements on this interface - self._write_sysfs(self.options['accept_ra'], 1) + self._write_sysfs(self.file['accept_ra'], 1) # cleanup old config files for name in ('conf', 'pid', 'lease'): |