diff options
author | João Valverde <j@v6e.pt> | 2022-02-15 02:45:20 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2022-02-15 11:38:16 +0000 |
commit | 8efad466c4e62b0371659c8fd1d909038c36da27 (patch) | |
tree | 30fd6d3f87988d8b65dd52afcbcc88fbf0e28cc9 /epan/dissectors/packet-clique-rm.c | |
parent | 8198dd51cd6c731f620c1c7edf370c9c70966a44 (diff) |
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.
Diffstat (limited to 'epan/dissectors/packet-clique-rm.c')
-rw-r--r-- | epan/dissectors/packet-clique-rm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-clique-rm.c b/epan/dissectors/packet-clique-rm.c index 596e1efc2b..6a5097e6f9 100644 --- a/epan/dissectors/packet-clique-rm.c +++ b/epan/dissectors/packet-clique-rm.c @@ -231,7 +231,7 @@ dissect_unreliable_packet(proto_tree *clique_rm_tree, guint8 type, tvbuff_t *tvb hf_clique_rm_whois_reply_name_length, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; proto_tree_add_item(clique_rm_tree, - hf_clique_rm_whois_reply_name, tvb, offset, len, ENC_ASCII|ENC_NA); + hf_clique_rm_whois_reply_name, tvb, offset, len, ENC_ASCII); break; case PACKET_TYPE_REPAIR_REQUEST: proto_tree_add_item(clique_rm_tree, |