aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sip.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-05 22:44:03 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-05 22:44:03 +0000
commit35d0b50e4686e1764195b872efff884e2ff8445e (patch)
tree268bfcebff2389346229cce5f013daa0ac4bef6d /epan/dissectors/packet-sip.c
parenta12c63a6e85c7bc8fc7c070b5d9a404b8a2927a4 (diff)
Use value_string_ext fcns to access certain value_string arrays;
Sort certain value_string arrays so the values are in ascending order; Use val_to_str_ext() instead of for loops to do value_string array lookups (voip_calls.c). Minor whitespace cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34794 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sip.c')
-rw-r--r--epan/dissectors/packet-sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c
index 05763db2ed..52c6ce1123 100644
--- a/epan/dissectors/packet-sip.c
+++ b/epan/dissectors/packet-sip.c
@@ -1414,7 +1414,7 @@ dissect_sip_reason_header(tvbuff_t *tvb, proto_tree *tree, gint start_offset, gi
cause_value = atoi(tvb_get_ephemeral_string(tvb, current_offset, length));
proto_tree_add_text(tree, tvb, current_offset, length,
"Cause: %u(0x%x)[%s]", cause_value,cause_value,
- val_to_str(cause_value, q850_cause_code_vals, "Unknown (%d)" ));
+ val_to_str_ext(cause_value, &q850_cause_code_vals_ext, "Unknown (%d)" ));
}