diff options
author | zsdc <taras@vyos.io> | 2021-10-25 21:44:00 +0300 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-01 09:11:22 +0100 |
commit | 0c2384114e8abbd9c883a57729564c70c0a86eec (patch) | |
tree | b4178e675dd3c0b606fec83341ae831ec48c9c25 /src/op_mode/snmp.py | |
parent | e482377b29df05e60dbdb31d6276ae2030ffa2f9 (diff) | |
download | vyos-1x-0c2384114e8abbd9c883a57729564c70c0a86eec.tar.gz vyos-1x-0c2384114e8abbd9c883a57729564c70c0a86eec.zip |
dhclient: T3940: Added lease file argument to the `dhclient -x` call
When `dhclient` with the `-x` option is used to stop running DHCP client
with a lease file that is not the same as in the new `dhclient` process,
it requires a `-lf` argument with a path to the old lease file to find
information about old/active leases and process them according to
instructions and config.
This commit adds the option to the `02-vyos-stopdhclient` hook, which
allows to properly process `dhclient` instances started in different
ways.
(cherry picked from commit 393970f9ee5b3dfc58e0e999d3d5941a198b2c6f)
Diffstat (limited to 'src/op_mode/snmp.py')
0 files changed, 0 insertions, 0 deletions