diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-27 08:04:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 08:04:30 +0200 |
commit | 69977520cd74cc3af4594039e26dc0d5b49c9b35 (patch) | |
tree | 4dd48a0074e6a4010921dd7b766b9acba5e060f7 /python/vyos/ifconfig | |
parent | cff252427c1aa9c8fe0cf7a305c2a5a294c71773 (diff) | |
parent | 3cc542c5f70a574c690d2730c31cda81e9b3da66 (diff) | |
download | vyos-1x-69977520cd74cc3af4594039e26dc0d5b49c9b35.tar.gz vyos-1x-69977520cd74cc3af4594039e26dc0d5b49c9b35.zip |
Merge pull request #380 from thomas-mangin/T2379
dhcp: T2379: fix dhcp stop
Diffstat (limited to 'python/vyos/ifconfig')
-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'): |