packet-v52.c: Remove duplicates from info_element_values.
authorMichael Mann <mmann78@netscape.net>
Sun, 16 Apr 2017 13:11:03 +0000 (09:11 -0400)
committerMichael Mann <mmann78@netscape.net>
Sun, 16 Apr 2017 16:19:49 +0000 (16:19 +0000)
ETSI EN 300 347-1 V2.2.2 does have the duplicated values
documented.  Maybe the value_string needs to be broken up
into the different pieces (PSTN, Control, etc).

Change-Id: I92477d9532d334945cb9e55e75534520d51dd1d1
Reviewed-on: https://code.wireshark.org/review/21131
Reviewed-by: Michael Mann <mmann78@netscape.net>
epan/dissectors/packet-v52.c

index ec79b2b8f07f0b25e1dddfe1dc65c4252a79c1f7..abc3be792107f254fa7dd20b491d1a57e04a363d 100644 (file)
@@ -602,9 +602,9 @@ static const value_string info_element_values [] = {
     { CONTROL_FUNCTION_ELEMENT, "Control function element" },
     { CONTROL_FUNCTION_ID,      "Control function ID" },
     { ENABLE_METERING,          "Enable metering" },
-    { VARIANT,                  "Variant" },
+/*    { VARIANT,                  "Variant" },  XXX - Duplicate value of ENABLE_METERING */
     { METERING_REPORT,          "Metering report" },
-    { INTERFACE_ID,             "Interface ID" },
+/*    { INTERFACE_ID,             "Interface ID" }, XXX - Duplicate value of METERING_REPORT */
     { ATTENUATION,              "Attenuation" },
     { LINK_CONTROL_FUNCTION,    "Link control function" },
     { USER_PORT_ID,             "User port ID" },