]> git.proxmox.com Git - mirror_frr.git/commit
ripd: fix removal of configured passive interfaces
authorRenato Westphal <renato@opensourcerouting.org>
Sat, 2 Mar 2019 20:45:14 +0000 (17:45 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 2 Mar 2019 22:12:54 +0000 (19:12 -0300)
commit58e39d522b1d55cdd58ce5833298bf23aa27ce05
treed256061449bbde74553d3a73ab561ccb2cf0f2a6
parent700e9faa28bbdc3460e1d7aa109b6e4acaf347b3
ripd: fix removal of configured passive interfaces

libyang-0.16-rc3 fixed a bug [1] in which data would be auto-deleted
when it shouldn't. The problem is that the "no passive-interface"
command was relying on that wrong behavior, so the command was
affected when the libyang bug was fixed. Adapt the command to do
the right thing in order to get rid of the problem (regardless of
the libyang version being used).

"passive-interface default" still has problems though, but that
will be addressed separetely in the future.

Fixes #3870.

[1] https://github.com/CESNET/libyang/commit/8af82206908

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ripd/rip_cli.c