]> git.puffer.fish Git - matthieu/frr.git/commit
ldpd: fix bug when changing the transport address
authorRenato Westphal <renato@opensourcerouting.org>
Sat, 22 Apr 2017 15:03:14 +0000 (12:03 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Wed, 26 Apr 2017 13:37:18 +0000 (10:37 -0300)
commit8a26d0cf73e5f87b20aa47ed3f1465eab15da18a
tree578db3eb18fd3b1eed8fce7fded7b9016b4f9f2b
parent097e36bff70904ec081657a27200a98078c7a831
ldpd: fix bug when changing the transport address

When the transport address is changed, all interfaces and targeted
neighbors are temporary disabled in the ldpe process until new sockets
bound to the new transport address are received from the parent.

This patch fixes a problem in which adjacencies weren't being removed
after the associated targeted neighbors were disabled. This was causing
ldpd not to set some MD5 sockoptions for new neighbors are thus preventing
MD5-protected sessions to come up after a change in the transport-address.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ldpd/adjacency.c
ldpd/interface.c