diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-11-25 18:29:40 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-11-25 18:29:40 +0000 |
commit | b023777a76d30bdb62b68a3852b39de38c5a6adb (patch) | |
tree | 866de607c7bc34f663ba41d244d91a2624729192 /epan/dissectors/packet-sccp.c | |
parent | 12618aadcd32fbe1b9e9ba8bb412f48835cd31d4 (diff) |
The defragment_xudt preference is used to control reassembly of both XUDTs
and also DT1s. Update the preference text to reflect that.
(Don't change the actual preference name to avoid breaking backward
compatibility.)
svn path=/trunk/; revision=53576
Diffstat (limited to 'epan/dissectors/packet-sccp.c')
-rw-r--r-- | epan/dissectors/packet-sccp.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/epan/dissectors/packet-sccp.c b/epan/dissectors/packet-sccp.c index 3b77eb51cd..fba2bdc7c4 100644 --- a/epan/dissectors/packet-sccp.c +++ b/epan/dissectors/packet-sccp.c @@ -716,8 +716,7 @@ static expert_field ei_sccp_class_unexpected = EI_INIT; static expert_field ei_sccp_handling_invalid = EI_INIT; -/* Declarations to desegment XUDT Messages */ -static gboolean sccp_xudt_desegment = TRUE; +static gboolean sccp_reassemble = TRUE; static gboolean show_key_params = FALSE; static gboolean set_addresses = FALSE; @@ -2837,7 +2836,7 @@ dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, VARIABLE_POINTER(variable_pointer1, hf_sccp_variable_pointer1, POINTER_LENGTH); /* Reassemble */ - if (!sccp_xudt_desegment) { + if (!sccp_reassemble) { proto_tree_add_text(sccp_tree, tvb, variable_pointer1, tvb_get_guint8(tvb, variable_pointer1)+1, "Segmented Data"); @@ -3063,7 +3062,7 @@ dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, variable_pointer2); if (tvb_get_guint8(tvb, optional_pointer) == PARAMETER_SEGMENTATION) { - if (!sccp_xudt_desegment) { + if (!sccp_reassemble) { proto_tree_add_text(sccp_tree, tvb, variable_pointer3, tvb_get_guint8(tvb, variable_pointer3)+1, "Segmented Data"); } else { guint8 octet; @@ -3150,7 +3149,7 @@ dissect_sccp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sccp_tree, variable_pointer2); if (tvb_get_guint8(tvb, optional_pointer) == PARAMETER_SEGMENTATION) { - if (!sccp_xudt_desegment) { + if (!sccp_reassemble) { proto_tree_add_text(sccp_tree, tvb, variable_pointer3, tvb_get_guint8(tvb, variable_pointer3)+1, "Segmented Data"); } else { @@ -4041,9 +4040,9 @@ proto_register_sccp(void) &sccp_show_length); prefs_register_bool_preference(sccp_module, "defragment_xudt", - "Reassemble XUDT messages", - "Whether XUDT messages should be reassembled", - &sccp_xudt_desegment); + "Reassemble SCCP messages", + "Whether SCCP messages should be reassembled", + &sccp_reassemble); prefs_register_bool_preference(sccp_module, "trace_sccp", "Trace Associations", |