diff options
author | Paul Jakma <paul@quagga.net> | 2011-03-20 22:08:02 +0000 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2011-03-20 22:09:15 +0000 |
commit | d1de1c25962b5470f3825bc82d15e4dd29e1f842 (patch) | |
tree | 9e9b3c6ed51a0fdc78e0eb8900fad8f7e7598b98 /bgpd/bgp_packet.c | |
parent | 4dd87df5af8a59174362e44f83df11f12457c8b4 (diff) | |
parent | e6844aa5d23cf56dd1f31afc96e8145ab188953f (diff) |
Merge paul/ospfd/201012-review ospfd and lib/ fixes and performance improvements
Diffstat (limited to 'bgpd/bgp_packet.c')
-rw-r--r-- | bgpd/bgp_packet.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c index a5f9552c..9102add7 100644 --- a/bgpd/bgp_packet.c +++ b/bgpd/bgp_packet.c @@ -1885,12 +1885,6 @@ bgp_notify_receive (struct peer *peer, bgp_size_t size) bgp_notify.subcode == BGP_NOTIFY_OPEN_UNSUP_PARAM ) UNSET_FLAG (peer->sflags, PEER_STATUS_CAPABILITY_OPEN); - /* Also apply to Unsupported Capability until remote router support - capability. */ - if (bgp_notify.code == BGP_NOTIFY_OPEN_ERR && - bgp_notify.subcode == BGP_NOTIFY_OPEN_UNSUP_CAPBL) - UNSET_FLAG (peer->sflags, PEER_STATUS_CAPABILITY_OPEN); - BGP_EVENT_ADD (peer, Receive_NOTIFICATION_message); } |