aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2012-08-25 00:54:04 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2012-08-25 00:54:04 +0000
commitdf1caeb7725f853ed6158afa574e84cb888f7e81 (patch)
tree31e2134ce0fbf1785b117b979567183e1c6b31c3
parentee55f0a9cfa0e38f2b8565b71c095f53adaede87 (diff)
value_sring fixes;
- fix dup: use correct value for an entry (typo); - comment out 2nd entry of a dup pair: 2 cases git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44663 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--epan/dissectors/packet-ipdc.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/epan/dissectors/packet-ipdc.c b/epan/dissectors/packet-ipdc.c
index fcb4a029fa..a257384306 100644
--- a/epan/dissectors/packet-ipdc.c
+++ b/epan/dissectors/packet-ipdc.c
@@ -104,7 +104,10 @@ static const value_string channel_status_vals[] = {
{ 0, NULL }
};
-/* XXX: Note duplicate values in the following ?? */
+/* XXX: Note duplicate values in the following ?? */
+/* dups after the first commented out since a */
+/* linear search will always match the first */
+/* of the dups. */
static const value_string message_code_vals[] = {
{ 0x0082, "SS -> GW: ASUP: Acknowledgment to NSUP" },
{ 0x0084, "SS -> GW: LNK: Link Active" },
@@ -607,7 +610,7 @@ static const value_string tag_enum_type[] = {
{ IPDC_TAG(0x76) + 0x01, "On" },
/* Constant Fax tone detection on/off */
{ IPDC_TAG(0x77) + 0x00, "Off" },
- { IPDC_TAG(0x77) + 0x00, "On (Default)" },
+ { IPDC_TAG(0x77) + 0x01, "On (Default)" },
/* Constant Modem tone detection on/off */
{ IPDC_TAG(0x78) + 0x00, "Off" },
{ IPDC_TAG(0x78) + 0x01, "On (Default)" },
@@ -645,7 +648,7 @@ static const value_string tag_enum_type[] = {
{ IPDC_TAG(0xa7) + 0x01, "Any" },
{ IPDC_TAG(0xa7) + 0x02, "PAP (Default)" },
{ IPDC_TAG(0xa7) + 0x03, "CHAP" },
- { IPDC_TAG(0xa7) + 0x03, "MS-CHAP" },
+/* ??? { IPDC_TAG(0xa7) + 0x03, "MS-CHAP" }, */
/* Link status */
{ IPDC_TAG(0xb0) + 0x00, "Successfully connected" },
{ IPDC_TAG(0xb0) + 0x01, "Not connected" },
@@ -675,11 +678,11 @@ static const value_string tag_enum_type[] = {
{ IPDC_TAG(0xc1) + 0x13, "Switzerland" },
{ IPDC_TAG(0xc1) + 0x14, "UK" },
{ IPDC_TAG(0xc1) + 0x15, "US" },
- { IPDC_TAG(0xc1) + 0x15, "Brazil" },
+/* ??? { IPDC_TAG(0xc1) + 0x15, "Brazil" }, */
{ 0, NULL }
};
-
static value_string_ext tag_enum_type_ext = VALUE_STRING_EXT_INIT(tag_enum_type);
+
static int proto_ipdc = -1;
static int hf_ipdc_nr = -1;
static int hf_ipdc_ns = -1;