summaryrefslogtreecommitdiff
path: root/interface-definitions/system-login-banner.xml.in
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-05-05 15:48:47 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-05-05 16:19:00 +0200
commit7a1c1fef7677e68d5a92c8538eda74a45b47a3c9 (patch)
treee9690f060f183bb5eda927da43c2050bd1812f56 /interface-definitions/system-login-banner.xml.in
parent5fdd21714536a69348adbfdb97370c3201b401be (diff)
downloadvyos-1x-7a1c1fef7677e68d5a92c8538eda74a45b47a3c9.tar.gz
vyos-1x-7a1c1fef7677e68d5a92c8538eda74a45b47a3c9.zip
configdict: T2427: do not remove all addresses when disabling interface
Commit 3fdf0093a introduced code that removed all addresses from an interface when that interface is disabled. This is wrong, as other configured services may be listening on these addresses and may fail to start if their configured address isn't present. It also caused a commit error when applying dhcp-server configuration: DHCP server configuration error! None of configured DHCP subnets does not have appropriate primary IP address on any broadcast interface. This commit reverts it to prior behavior, which was to just put the interface admin down and leave all addresses configured, other than the IPv6 'fe80::EUI-64/64' link-local, which it deletes, as the interface may not have a MAC if it's put down.
Diffstat (limited to 'interface-definitions/system-login-banner.xml.in')
0 files changed, 0 insertions, 0 deletions