diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-05 15:48:47 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-05 16:19:00 +0200 |
commit | 7a1c1fef7677e68d5a92c8538eda74a45b47a3c9 (patch) | |
tree | e9690f060f183bb5eda927da43c2050bd1812f56 /src/validators/ipv6 | |
parent | 5fdd21714536a69348adbfdb97370c3201b401be (diff) | |
download | vyos-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 'src/validators/ipv6')
0 files changed, 0 insertions, 0 deletions