]> The Tcpdump Group git mirrors - tcpdump/commitdiff
add new bgp option type, "capabilities advertisement".
authoritojun <itojun>
Thu, 18 Oct 2001 09:52:17 +0000 (09:52 +0000)
committeritojun <itojun>
Thu, 18 Oct 2001 09:52:17 +0000 (09:52 +0000)
From: Kaarthik Sivakumar <[email protected]>

print-bgp.c

index 3e3d0f371acc2578848d4dc8a3c5df0025422b18..e9836f6732a8419fa996c9c67178ac014cae3b4e 100644 (file)
@@ -33,7 +33,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.26 2001-10-18 09:51:31 itojun Exp $";
+     "@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.27 2001-10-18 09:52:17 itojun Exp $";
 #endif
 
 #include <sys/param.h>
@@ -131,7 +131,7 @@ static const char *bgptype[] = {
 #define bgp_type(x) num_or_str(bgptype, sizeof(bgptype)/sizeof(bgptype[0]), (x))
 
 static const char *bgpopt_type[] = {
-       NULL, "Authentication Information",
+       NULL, "Authentication Information", "Capabilities Advertisement",
 };
 #define bgp_opttype(x) \
        num_or_str(bgpopt_type, sizeof(bgpopt_type)/sizeof(bgpopt_type[0]), (x))