]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_debug.h
BGP: Display the right reason code for session reset
authorDaniel Walton <dwalton@cumulusnetworks.com>
Wed, 16 Sep 2015 02:14:06 +0000 (19:14 -0700)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Wed, 16 Sep 2015 02:14:06 +0000 (19:14 -0700)
commit3a8c7ba1ec02bd2560ebcf4b961a13d2b3e611bd
tree51c3fa999f500aa3eaae328ef7d82d2daacd1bdc
parentef7f176df3a26d07d5c968ed36c7b74c4ec4a180
BGP: Display the right reason code for session reset

Ticket: CM-7439
Reviewed By: Donald Sharp
Testing Done:

If a session was reset due to a NOTIFICATION the "show ip bgp
neighbor" output would not display details on what the
notification actually was.  This patch changes that.  Example:

superm-redxp-05# show ip bgp neighbors 20.1.2.2
BGP neighbor is 20.1.2.2, remote AS 21, local AS 10, external link
[snip]
  Last reset 01:05:07, due to NOTIFICATION sent (OPEN Message Error/Bad Peer AS)
.gitignore
bgpd/bgp_debug.c
bgpd/bgp_debug.h
bgpd/bgp_fsm.c
bgpd/bgp_packet.c
bgpd/bgp_vty.c