aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bgp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-02-23 17:09:30 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2014-02-24 20:42:44 +0000
commitb7bd4ff7ae91b2501701035bfd9cc73946d14bd9 (patch)
treef882f65d44544b296c05d01181a97318c5d15a9e /epan/dissectors/packet-bgp.c
parent780cd800e2b5d2ea84211d827f1ac4bba73a8ffb (diff)
Fix -Wunused-const-variable found by Clang
Change-Id: I57cfafea0e3110553ef03a34baad217f8109942d Reviewed-on: https://code.wireshark.org/review/320 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-bgp.c')
-rw-r--r--epan/dissectors/packet-bgp.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/epan/dissectors/packet-bgp.c b/epan/dissectors/packet-bgp.c
index ba4f3a8149..c1a6c740be 100644
--- a/epan/dissectors/packet-bgp.c
+++ b/epan/dissectors/packet-bgp.c
@@ -345,11 +345,6 @@ void proto_reg_handoff_bgp(void);
#define BGP_EXT_COM_STYPE_EXP_F_RED_AS4 0x08
/* according to IANA's number assignment at: http://www.iana.org/assignments/bgp-extended-communities */
-#define BGP_EXT_COM_QOS_MARK_T 0x04 /* QoS Marking transitive attribute of regular type (8bit) */
-#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_T 0x05 /* CoS Capability - Format Type(1byte):Flags(1byte):remaining '0..0' */
/* draft-ietf-idr-bgp-ext-communities */
#define BGP_EXT_COM_RT_AS2 0x0002 /* Route Target,Format AS(2bytes):AN(4bytes) */
@@ -695,13 +690,6 @@ static const value_string subtlv_type[] = {
{ 0, NULL }
};
-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_T, "CoS Capability - transitive" },
- { 0, NULL }
-};
-
static const value_string bgpext_com_type_high[] = {
{ BGP_EXT_COM_TYPE_HIGH_TR_AS2, "Transitive Two-Octet AS" },
{ BGP_EXT_COM_TYPE_HIGH_TR_IP4, "Transitive IPv4-Address" },