summaryrefslogtreecommitdiff
path: root/ruff.toml
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-02-05 22:11:22 +0100
committerChristian Breunig <christian@breunig.cc>2025-02-05 22:11:22 +0100
commit68002a3839d259d40d9a7bd88fe72c7361679388 (patch)
tree869ef2888ce13fd28552d0b336103a9c61854513 /ruff.toml
parentc40ff64dfcdbd9c597b686952769df9c106967cd (diff)
downloadvyos-1x-68002a3839d259d40d9a7bd88fe72c7361679388.tar.gz
vyos-1x-68002a3839d259d40d9a7bd88fe72c7361679388.zip
vyos.ifconfig: T5103: force dhclient restart on VRF change
Moving an interface in, out or between VRFs will not re-install the received default route. This is because the dhclient binary is not restarted in the new VRF. Dhclient itself will report an error like: "receive_packet failed on eth0.10: Network is down". Take the return value of vyos.ifconfig.Interface().set_vrf() into account to forcefully restart the DHCP client process and optain a proper lease.
Diffstat (limited to 'ruff.toml')
0 files changed, 0 insertions, 0 deletions