]> The Tcpdump Group git mirrors - tcpdump/commitdiff
expose bgp_l2vpn_encaps_values[] to the outside world
authorhannes <hannes>
Sat, 12 Jun 2004 08:52:21 +0000 (08:52 +0000)
committerhannes <hannes>
Sat, 12 Jun 2004 08:52:21 +0000 (08:52 +0000)
bgp.h
print-bgp.c

diff --git a/bgp.h b/bgp.h
index 94258abf135e91605ed1cf92632a7b17ce7d5d9b..fbc96807e4a5a55c347047c39e0cbd17e2bfc70c 100755 (executable)
--- a/bgp.h
+++ b/bgp.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/bgp.h,v 1.1 2004-06-12 08:17:51 hannes Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/bgp.h,v 1.2 2004-06-12 08:52:22 hannes Exp $ (LBL) */
 /* 
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that: (1) source code
@@ -15,3 +15,4 @@
  */
 
 extern char *bgp_vpn_rd_print (const u_char *);
+extern struct tok bgp_l2vpn_encaps_values[];
index 44ffab7e59b39b27385be366bf62fb447fef8166..1c6df3dd52876938ad42f8c59274f8013099d764 100644 (file)
@@ -36,7 +36,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.85 2004-06-12 08:17:50 hannes Exp $";
+     "@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.86 2004-06-12 08:52:21 hannes Exp $";
 #endif
 
 #include <tcpdump-stdinc.h>
@@ -444,7 +444,7 @@ static struct tok bgp_extd_comm_ospf_rtype_values[] = {
   { 0, NULL },
 };
 
-static struct tok bgp_l2vpn_encaps_values[] = {
+struct tok bgp_l2vpn_encaps_values[] = {
     { 0,                      "Reserved"},
     { 1,                      "Frame Relay"},
     { 2,                      "ATM AAL5 VCC transport"},