diff options
author | Christian Breunig <christian@breunig.cc> | 2025-02-08 11:36:14 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-02-08 13:46:05 +0100 |
commit | 9e313faaef139215dbcff0f79721164e627bed30 (patch) | |
tree | 6f6fe2c8f9b6ce8213bf33f2378be8ce9124283a /smoketest | |
parent | 8faf67c1fab0eced732cf414d02a6c8d7affc626 (diff) | |
download | vyos-1x-9e313faaef139215dbcff0f79721164e627bed30.tar.gz vyos-1x-9e313faaef139215dbcff0f79721164e627bed30.zip |
vyos.ifconfig: T5103: always stop the DHCP client process bevore changing VRF
Always stop the DHCP client process to clean up routes within the VRF where the
process was originally started. There is no need to add a condition to only
call the method if "address dhcp" was defined, as this is handled inside
set_dhcp(v6) by only stopping if the daemon is running.
DHCP client process restart will be handled later on once the interface is
moved to the new VRF.
Diffstat (limited to 'smoketest')
0 files changed, 0 insertions, 0 deletions