]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: stricter packet handling in OpenSent
authorLeonid Rosenboim <lrosenbo@wrs.com>
Tue, 30 Jul 2013 18:14:25 +0000 (20:14 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 30 Jul 2013 18:20:07 +0000 (20:20 +0200)
commit397b5bded5654a31b4bd3b904f091fd3859aecf7
tree5b2a0f99bfa8dd6b774c1149948bc7a5aec3d7d5
parentc423d413e464913ee88c1ee700e2c4037e6bdb24
bgpd: stricter packet handling in OpenSent

Keepalives and updates are not expected in OpenSent, prior to receiving
the peer's open message.  Terminate the session with the proper
notification.

From: Leonid Rosenboim <lrosenbo@wrs.com>
[split off FSM changes, some reordering & cleanup.  read handling needs
 to be separately addressed]
Signed-off-by: David Lamparter <equinox@diac24.net>
bgpd/bgp_fsm.c