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>
This commit is contained in:
Guy Harris 2018-04-22 14:44:40 -07:00
parent e863ece7fc
commit 6522647d11
1 changed files with 1 additions and 1 deletions

View File

@ -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;