summaryrefslogtreecommitdiff
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2016-06-09 17:26:33 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2016-06-09 17:26:33 +0000
commitf429e0627900f54d72548e50b7af0b713296264f (patch)
treed6fb243a4b73a9a1af440f8eb23623c40016d6b3 /libexec/ftpd
parent5e5312976e5a2bcd103b6fb160a065a2496dc956 (diff)
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.
Diffstat (limited to 'libexec/ftpd')
0 files changed, 0 insertions, 0 deletions