aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolai Ipatyev <wallprime@yandex.com>2017-10-18 23:07:16 +0300
committerMichael Mann <mmann78@netscape.net>2017-10-19 02:30:01 +0000
commit5fd13dac123f1a31ad2aad7e1c7338ba25527b11 (patch)
treed6724d69aef18b7e81992ed5007d8f36517a6313
parentbc880f6c3e71c1e1ce4eb19f6cfa404ae4e6cda5 (diff)
fpmux: Fix error string and comment
Change-Id: If4620a43d706f7067a018eb964e4db3733d65210 Reviewed-on: https://code.wireshark.org/review/23980 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r--epan/dissectors/packet-fp_mux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fp_mux.c b/epan/dissectors/packet-fp_mux.c
index d6369c8749..31bb26f792 100644
--- a/epan/dissectors/packet-fp_mux.c
+++ b/epan/dissectors/packet-fp_mux.c
@@ -215,9 +215,9 @@ static int dissect_fp_mux(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, v
return total_length;
}
if (length > total_length - offset) {
- /* Length is zero. Showing error and aborting dissection*/
+ /* Length value too big. Showing error and aborting dissection*/
proto_tree_add_expert_format(fpmux_tree, pinfo, &ei_fpm_bad_length, tvb, offset, length_field_size,
- "Bad length: total length exceeds remaining data length (%d) ", (total_length - offset));
+ "Bad length: payload length exceeds remaining data length (%d) ", (total_length - offset));
return total_length;
}
if (length < 128 && ext_flag) {