]> git.puffer.fish Git - mirror/frr.git/commit
ldpd: accept notifications during the session establishment process
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 19 Apr 2017 22:31:19 +0000 (19:31 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Wed, 26 Apr 2017 13:36:33 +0000 (10:36 -0300)
commit90989cb30668f46124946a7770b2d148c745b165
treefc1ff0e52082e1af3b1c6145b64963f9d696426d
parent5afba51d83e80129709f01e67888a53fd8f7ccbe
ldpd: accept notifications during the session establishment process

If we don't do this, we'll never trigger the backoff exponential timer
since it's impossible to distinguish between Initialization NAK's and
general errors.

Also:
* Implement some missing bits from RFC 5036;
* remove superfluous log message in session_shutdown()
  (send_notification() logs that we're sending a fatal notification).

Regression introduced by commit 8819fc3.

Fixes the following ANVL LDP regressions: 6.19 and 6.21.

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