aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bgp.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-01-30 23:04:02 +0000
committerGuy Harris <guy@alum.mit.edu>2002-01-30 23:04:02 +0000
commit8dc27bb1844d99ae3033c51f81fa0b277e642a03 (patch)
treede6d7c8e6ab342c6d9c35b7ad3593f260e06c3b4 /packet-bgp.h
parent595513d5cc8f3f67d7b944e922826d3237ee4968 (diff)
Just use "val_to_str()" to generate names for communities whose values
are in the reserved region (which also fixes a bug where we weren't printing the value for the NO_ADVERTISE community correctly). svn path=/trunk/; revision=4638
Diffstat (limited to 'packet-bgp.h')
-rw-r--r--packet-bgp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-bgp.h b/packet-bgp.h
index a549b6a97a..86d9f30e06 100644
--- a/packet-bgp.h
+++ b/packet-bgp.h
@@ -1,7 +1,7 @@
/* packet-bgp.c
* Definitions for BGP packet disassembly structures and routine
*
- * $Id: packet-bgp.h,v 1.16 2001/11/03 21:25:12 guy Exp $
+ * $Id: packet-bgp.h,v 1.17 2002/01/30 23:04:02 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -117,8 +117,8 @@ struct bgp_attr {
#define BGP_COMM_NO_EXPORT 0xFFFFFF01
#define BGP_COMM_NO_ADVERTISE 0xFFFFFF02
#define BGP_COMM_NO_EXPORT_SUBCONFED 0xFFFFFF03
-#define FOURHEX0 0x0000
-#define FOURHEXF 0xFFFF
+#define FOURHEX0 0x00000000
+#define FOURHEXF 0xFFFF0000
/* attribute types */
#define BGPTYPE_ORIGIN 1 /* RFC1771 */