aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-esis.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-12-23 15:18:48 +0000
committerMichael Mann <mmann78@netscape.net>2013-12-23 15:18:48 +0000
commit7ec4582b4f4b11ffc4e0f29b2cd14ad49f55584b (patch)
tree493800f6ac3669ae25900d543977bf2a8e14ae9b /epan/dissectors/packet-esis.c
parent5b8f078f4bc535b37d8af8cf08ae36d6ad663035 (diff)
Add FT_SYSTEM_ID type and convert the dissectors that use print_system_id with FT_BYTES to now use FT_SYSTEM_ID type.
svn path=/trunk/; revision=54383
Diffstat (limited to 'epan/dissectors/packet-esis.c')
-rw-r--r--epan/dissectors/packet-esis.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-esis.c b/epan/dissectors/packet-esis.c
index 14e29364d3..90e659aa42 100644
--- a/epan/dissectors/packet-esis.c
+++ b/epan/dissectors/packet-esis.c
@@ -232,8 +232,7 @@ esis_dissect_redirect_pdu( guint8 len, tvbuff_t *tvb, proto_tree *tree) {
proto_tree_add_text( tree, tvb, offset, tmpl + 1,
"### Subnetwork Address Section ###");
proto_tree_add_uint_format_value(tree, hf_esis_bsnpal, tvb, offset++, 1, tmpl, "%2u Octets", tmpl);
- proto_tree_add_string( tree, hf_esis_bsnpa, tvb, offset, tmpl,
- print_system_id( tvb_get_ptr(tvb, offset, tmpl), tmpl ) );
+ proto_tree_add_item( tree, hf_esis_bsnpa, tvb, offset, tmpl, ENC_NA);
offset += tmpl;
len -= ( tmpl + 1 );
tmpl = (int) tvb_get_guint8(tvb, offset);
@@ -438,7 +437,7 @@ proto_register_esis(void) {
{ &hf_esis_bsnpal, { "BSNPAL", "esis.bsnpal", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }},
{ &hf_esis_net, { "NET", "esis.net", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }},
{ &hf_esis_da, { "DA", "esis.da", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }},
- { &hf_esis_bsnpa, { "BSNPA", "esis.bsnpa", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL }},
+ { &hf_esis_bsnpa, { "BSNPA", "esis.bsnpa", FT_SYSTEM_ID, BASE_NONE, NULL, 0x0, NULL, HFILL }},
};
/*
*