From 8efad466c4e62b0371659c8fd1d909038c36da27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Tue, 15 Feb 2022 02:45:20 +0000 Subject: Tools: Fix fix-encoding-args.pl ASCII string validation Do not require a useless ENC_NA parameter for string encodings. FT_STRING and FT_STRINGZ types don't have any ndianness. Follow-up to 6ec429622c9258eefd388caf21ce92ab5b9f54b4. --- epan/dissectors/packet-aeron.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-aeron.c') diff --git a/epan/dissectors/packet-aeron.c b/epan/dissectors/packet-aeron.c index b1cb5b5c0d..5ef76e4bd5 100644 --- a/epan/dissectors/packet-aeron.c +++ b/epan/dissectors/packet-aeron.c @@ -2667,7 +2667,7 @@ static int dissect_aeron_err(tvbuff_t * tvb, int offset, packet_info * pinfo, pr string_length = frame_length - ofs; if (string_length > 0) { - proto_tree_add_item(subtree, hf_aeron_err_string, tvb, offset + ofs, string_length, ENC_ASCII|ENC_NA); + proto_tree_add_item(subtree, hf_aeron_err_string, tvb, offset + ofs, string_length, ENC_ASCII); } rounded_length = (int) frame_length; if (rounded_length < 0) -- cgit v1.2.3