summaryrefslogtreecommitdiff
path: root/bgpd/bgp_btoa.c
diff options
context:
space:
mode:
authorAlexis Fasquel <alexis@pch.net>2015-11-16 13:55:16 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-11-17 13:32:56 -0800
commit4db5d90acf047bb67969037c3744793765e90118 (patch)
tree6b8f660dc0a13aea53915b940e6a631ef7935075 /bgpd/bgp_btoa.c
parent9da3a1a1917b3260d0a97efea9fac2109cd42bc1 (diff)
BGP: Update dump to allow Extended Time Format
Allow the bgp dump functionality to handle the Extended Time format as specified in RFC 6396. Fixes a segmentation fault with multiple dump rules as well. Signed-off-by: Alexis Fasquel <alexis@pch.net> Acked-by: Donald Sharp <sharpd@cumulusnetworks.com> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_btoa.c')
-rw-r--r--bgpd/bgp_btoa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_btoa.c b/bgpd/bgp_btoa.c
index edc80b2fe6..b9ff67c547 100644
--- a/bgpd/bgp_btoa.c
+++ b/bgpd/bgp_btoa.c
@@ -192,6 +192,8 @@ main (int argc, char **argv)
if (type == MSG_PROTOCOL_BGP4MP)
printf ("TYPE: BGP4MP");
+ else if (type == MSG_PROTOCOL_BGP4MP_ET)
+ printf ("TYPE: BGP4MP_ET");
else if (type == MSG_TABLE_DUMP)
printf ("TYPE: MSG_TABLE_DUMP");
else