CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/06/09 11:26:32
Modified files:
usr.sbin/ldpd : adjacency.c hello.c interface.c ldpe.c ldpe.h
Log message:
Send a fatal notification when the last hello adjacency is deleted.
RFC 5036 says:
"When the last Hello adjacency for an LDP session is
deleted, the LSR terminates the LDP session by sending a Notification
message and closing the transport connection".
Send a "Hold Timer Expired" notification when the triggering event is
a hello hold time timeout. In the other cases, like disabling LDP on an
interface, send a "Shutdown" notification instead.
Before this patch we were just closing the neighbor's transport
connection.
Fixes the following ANVL LDP tests: 7.17 and 23.3.