aboutsummaryrefslogtreecommitdiffstats
path: root/epan/show_exception.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-04-22 14:44:40 -0700
committerGuy Harris <guy@alum.mit.edu>2018-04-22 21:45:48 +0000
commit6522647d110abcdfc06dc467c4a98d8a96775900 (patch)
treedf083c2337af3620ac1e7117c7384ef0208d1199 /epan/show_exception.c
parente863ece7fcceeb8b18001824146d3c7dabe19924 (diff)
Put protocol name before "length of contained item...".
It reads better, at least to me. Change-Id: I4b11449ea32d77e95bfbc54029b7afed7ea17c64 Reviewed-on: https://code.wireshark.org/review/27081 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/show_exception.c')
-rw-r--r--epan/show_exception.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/show_exception.c b/epan/show_exception.c
index 833c974eff..9058233efa 100644
--- a/epan/show_exception.c
+++ b/epan/show_exception.c
@@ -117,7 +117,7 @@ show_exception(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
case ContainedBoundsError:
col_append_fstr(pinfo->cinfo, COL_INFO, "[Malformed Packet: length of contained item exceeds length of containing item]");
item = proto_tree_add_protocol_format(tree, proto_malformed,
- tvb, 0, 0, "[Malformed Packet: length of contained item exceeds length of containing item: %s]",
+ tvb, 0, 0, "[Malformed Packet: %s: length of contained item exceeds length of containing item]",
pinfo->current_proto);
expert_add_info(pinfo, item, &ei_malformed);
break;