]> git.puffer.fish Git - matthieu/frr.git/commit
ripd: clear list of peers when RIP is deconfigured
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 4 Jan 2019 21:08:10 +0000 (19:08 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 18 Jan 2019 18:15:41 +0000 (16:15 -0200)
commit711915d2cdef4dcf41c6921f98de29946cab500e
tree6ea7980b56b254c88fad5f9db0f74b27fb79c21a
parent2826309c11e8b2af4593f3460a21e44f906a55a4
ripd: clear list of peers when RIP is deconfigured

This is an old standing bug where the list of RIP peers wasn't
cleared after deconfiguring RIP, which caused the existing peers
to still be present on a newly configured RIP instance (except when
the timed out after ~3 minutes). Fix this.

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