aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-05-25 06:48:40 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-05-25 06:48:40 +0000
commit78a3a653f90e3076aae2fdba41ced80802632f3d (patch)
treeabd7795ec86b84bd4cebc8f56eb4c512c647baaa
parentbd563faabb9a7c899f63ba47bed60baa05f81bd8 (diff)
From Thomas M. Knoll:
The CoS Capability extended community has been changed to a transitive ext. community and was reassigned an IANA type number. It has changed from 0x40 to 0x05. see: http://www.iana.org/assignments/bgp-extended-communities svn path=/trunk/; revision=28467
-rw-r--r--epan/dissectors/packet-bgp.c4
-rw-r--r--epan/dissectors/packet-bgp.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bgp.c b/epan/dissectors/packet-bgp.c
index 85fcc2d4b9..ee2b1d180a 100644
--- a/epan/dissectors/packet-bgp.c
+++ b/epan/dissectors/packet-bgp.c
@@ -189,7 +189,7 @@ static const value_string bgpattr_type[] = {
static const value_string bgpext_com8_type[] = {
{ BGP_EXT_COM_QOS_MARK_T, "QoS Marking - transitive" },
{ BGP_EXT_COM_QOS_MARK_NT, "QoS Marking - non-transitive" },
- { BGP_EXT_COM_COS_CAP_NT, "CoS Capability - non-transitive" },
+ { BGP_EXT_COM_COS_CAP_T, "CoS Capability - transitive" },
{ 0, NULL }
};
@@ -2299,7 +2299,7 @@ dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree)
ti = proto_tree_add_text(subtree4, tvb, q+7, 1,
"Defaults to zero: 0x%02x", tvb_get_guint8(tvb,q+7));
break;
- case BGP_EXT_COM_COS_CAP_NT:
+ case BGP_EXT_COM_COS_CAP_T:
is_regular_type = TRUE;
ti = proto_tree_add_text(subtree3,tvb,q,8, "%s",junk_emstr->str);
diff --git a/epan/dissectors/packet-bgp.h b/epan/dissectors/packet-bgp.h
index 6e14306d6a..9f826b7647 100644
--- a/epan/dissectors/packet-bgp.h
+++ b/epan/dissectors/packet-bgp.h
@@ -170,7 +170,7 @@ struct bgp_attr {
#define BGP_EXT_COM_QOS_MARK_NT 0x44 /* QoS Marking non-transitive attribute of regular type (8bit) */
/* Format Type(1byte):Flags(1byte):QoS Set(1byte):Tec. Type(1byte): */
/* Marking O(2bytes):Marking A(1byte):Proc.Cnt(1byte) */
-#define BGP_EXT_COM_COS_CAP_NT 0x40 /* CoS Capability - Format Type(1byte):Flags(1byte):remaining '0..0' */
+#define BGP_EXT_COM_COS_CAP_T 0x05 /* CoS Capability - Format Type(1byte):Flags(1byte):remaining '0..0' */
/* draft-ietf-idr-bgp-ext-communities */
#define BGP_EXT_COM_RT_0 0x0002 /* Route Target,Format AS(2bytes):AN(4bytes) */