From 886e2bfbb9e7432fb836f1539c021fc25c2e4c51 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Mon, 30 Nov 2015 21:50:59 -0500 Subject: Use some FT_BYTE "BASE"s in isis dissectors. Change-Id: I59acb37250f6248e985482e4b972250e295fd638 Reviewed-on: https://code.wireshark.org/review/15469 Petri-Dish: Anders Broman Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte Reviewed-by: Anders Broman --- epan/dissectors/packet-isis-clv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-isis-clv.c') diff --git a/epan/dissectors/packet-isis-clv.c b/epan/dissectors/packet-isis-clv.c index c919357d86..c7aee559f9 100644 --- a/epan/dissectors/packet-isis-clv.c +++ b/epan/dissectors/packet-isis-clv.c @@ -429,7 +429,7 @@ isis_dissect_nlpid_clv(tvbuff_t *tvb, proto_tree *tree, int hf_nlpid, int offset if ( !tree ) return; /* nothing to do! */ if (length <= 0) { - proto_tree_add_bytes_format_value(tree, hf_nlpid, tvb, offset, length, NULL, "--none--"); + proto_tree_add_item(tree, hf_nlpid, tvb, offset, length, ENC_NA); } else { first = TRUE; ti = proto_tree_add_bytes_format(tree, hf_nlpid, tvb, offset, length, NULL, "NLPID(s): "); -- cgit v1.2.3