diff options
author | Christian Breunig <christian@breunig.cc> | 2025-04-11 22:35:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-11 22:35:39 +0200 |
commit | d1e8dbd33ad84999ea4feea075d723068628ab1d (patch) | |
tree | 313c3b7436038de2a5381830f8a728adf561b3e0 /src/etc/netplug | |
parent | 058a6e6c07aa9f40192368eb2e767e7cd1a7a204 (diff) | |
parent | 2fcb128ea04e7e6c3f05b1b05bbc9fd3c541abb8 (diff) | |
download | vyos-1x-current.tar.gz vyos-1x-current.zip |
netplug: T7346: only call interface helpers if interface is not removed
Diffstat (limited to 'src/etc/netplug')
-rwxr-xr-x | src/etc/netplug/vyos-netplug-dhcp-client | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/netplug/vyos-netplug-dhcp-client b/src/etc/netplug/vyos-netplug-dhcp-client index 4cc824afd..7fe6cda75 100755 --- a/src/etc/netplug/vyos-netplug-dhcp-client +++ b/src/etc/netplug/vyos-netplug-dhcp-client @@ -54,4 +54,5 @@ interface_path = ['interfaces'] + Section.get_config_path(interface).split() _, interface_config = get_interface_dict( config, interface_path[:-1], ifname=interface, with_pki=True ) -Interface(interface).update(interface_config) +if 'deleted' not in interface_config: + Interface(interface).update(interface_config) |