diff options
author | Jun-ichiro itojun Hagino <itojun@itojun.org> | 2000-04-11 14:21:37 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@itojun.org> | 2000-04-11 14:21:37 +0000 |
commit | 3ae12aa496335f6bb59374c800788cf1378cfd72 (patch) | |
tree | fdd13563cf2115f405e58f1bf00e10422f7c0d93 /packet-bgp.h | |
parent | db471396fa294f59ea27f41e17491750e25a6b05 (diff) |
BGP confederations support (RFC1965).
From: Greg Hankins <gregh@twoguys.org>
svn path=/trunk/; revision=1828
Diffstat (limited to 'packet-bgp.h')
-rw-r--r-- | packet-bgp.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packet-bgp.h b/packet-bgp.h index 6bb337bdf9..3902c5ffbd 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.8 2000/04/08 07:07:09 guy Exp $ + * $Id: packet-bgp.h,v 1.9 2000/04/11 14:21:37 itojun Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -85,8 +85,10 @@ struct bgp_attr { /* AS_PATH segment types */ #define AS_SET 1 /* RFC1771 */ #define AS_SEQUENCE 2 /* RFC1771 */ -#define AS_CONFED_SET 3 /* RFC1965 */ -#define AS_CONFED_SEQUENCE 4 /* RFC1965 */ +/* This is wrong according to the RFC... in the Zebra code they say that + cisco reversed it. Packet traces seem to agree. */ +#define AS_CONFED_SET 4 /* RFC1965 */ +#define AS_CONFED_SEQUENCE 3 /* RFC1965 */ /* well-known communities, from RFC1997 */ #define BGP_COMM_NO_EXPORT 0xFFFFFF01 |