aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isis-clv.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-11-30 21:50:59 -0500
committerAnders Broman <a.broman58@gmail.com>2016-05-18 03:39:11 +0000
commit886e2bfbb9e7432fb836f1539c021fc25c2e4c51 (patch)
treed541355bed59ef397032da1778edefa9e6af9f5d /epan/dissectors/packet-isis-clv.c
parent0cadb330dd2313dac1168c811f220cb37e26f5cc (diff)
Use some FT_BYTE "BASE"s in isis dissectors.
Change-Id: I59acb37250f6248e985482e4b972250e295fd638 Reviewed-on: https://code.wireshark.org/review/15469 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-isis-clv.c')
-rw-r--r--epan/dissectors/packet-isis-clv.c2
1 files changed, 1 insertions, 1 deletions
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): ");