diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-08-06 22:22:17 +0200 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-08-08 13:19:23 +0000 |
commit | 143cdf12d39246003fb272a4001c2698b1f5362d (patch) | |
tree | 78cf9998f47b800211eb37dc63f6b497303481ab /epan/dissectors/packet-isis-hello.c | |
parent | 6fd6955a2412b5c5cbcb0472d620df29bd1e49a8 (diff) |
ISIS: Add type and length to CLV
Change-Id: If6dc8e3a9328571ccdb106b0aabc617889c434c7
Reviewed-on: https://code.wireshark.org/review/3465
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-isis-hello.c')
-rw-r--r-- | epan/dissectors/packet-isis-hello.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/epan/dissectors/packet-isis-hello.c b/epan/dissectors/packet-isis-hello.c index 45dc0c7608..e5d0c55c41 100644 --- a/epan/dissectors/packet-isis-hello.c +++ b/epan/dissectors/packet-isis-hello.c @@ -82,6 +82,8 @@ static int hf_isis_hello_pdu_length = -1; static int hf_isis_hello_priority = -1; static int hf_isis_hello_priority_reserved = -1; static int hf_isis_hello_lan_id = -1; +static int hf_isis_hello_clv_type = -1; +static int hf_isis_hello_clv_length = -1; static int hf_isis_hello_local_circuit_id = -1; static int hf_isis_hello_clv_ipv4_int_addr = -1; static int hf_isis_hello_clv_ipv6_int_addr = -1; @@ -998,7 +1000,7 @@ dissect_isis_hello(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offs */ isis_dissect_clvs(tvb, pinfo, hello_tree, offset, opts, &ei_isis_hello_short_packet, pdu_length, id_length, - ett_isis_hello_clv_unknown); + ett_isis_hello_clv_unknown, hf_isis_hello_clv_type, hf_isis_hello_clv_length); } @@ -1077,6 +1079,14 @@ proto_register_isis_hello(void) { "SystemID {Designated IS}", "isis.hello.lan_id", FT_SYSTEM_ID, BASE_NONE, NULL, 0x0, NULL, HFILL }}, + { &hf_isis_hello_clv_type, + { "Type", "isis.hello.clv.type", + FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, + + { &hf_isis_hello_clv_length, + { "Type", "isis.hello.clv.length", + FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, + { &hf_isis_hello_local_circuit_id, { "Local circuit ID", "isis.hello.local_circuit_id", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }}, |