diff options
author | Dario Lombardo <lomato@gmail.com> | 2015-03-02 15:18:17 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-03-02 14:45:26 +0000 |
commit | 077405fca091c3295abd7c55b9d9b8e7bfc03287 (patch) | |
tree | 1257d6851cf473c984a140e3ab7157cd66f06d84 /epan | |
parent | 3f623946748162236d64ae53e6526a15cb440888 (diff) | |
download | wireshark-077405fca091c3295abd7c55b9d9b8e7bfc03287.tar.gz |
isl: added reserved field
Change-Id: I028ebe27a55ababf9d3557cff531332313c38535
Reviewed-on: https://code.wireshark.org/review/7484
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-isl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-isl.c b/epan/dissectors/packet-isl.c index c69e2ddcf7..ff65d962ff 100644 --- a/epan/dissectors/packet-isl.c +++ b/epan/dissectors/packet-isl.c @@ -59,6 +59,7 @@ static int hf_isl_control = -1; static int hf_isl_vlan_id = -1; static int hf_isl_bpdu = -1; static int hf_isl_index = -1; +static int hf_isl_reserved = -1; /* static int hf_isl_crc = -1; */ static int hf_isl_src_vlan_id = -1; static int hf_isl_explorer = -1; @@ -243,6 +244,7 @@ dissect_isl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int fcs_len) proto_tree_add_item(fh_tree, hf_isl_vlan_id, payload_tvb, 6, 2, ENC_BIG_ENDIAN); proto_tree_add_item(fh_tree, hf_isl_bpdu, payload_tvb, 6, 2, ENC_BIG_ENDIAN); proto_tree_add_item(fh_tree, hf_isl_index, payload_tvb, 8, 2, ENC_BIG_ENDIAN); + proto_tree_add_item(fh_tree, hf_isl_reserved, payload_tvb, 10, 2, ENC_BIG_ENDIAN); } switch (type) { @@ -364,6 +366,9 @@ proto_register_isl(void) { &hf_isl_index, { "Index", "isl.index", FT_UINT16, BASE_DEC, NULL, 0x0, "Port index of packet source", HFILL }}, + { &hf_isl_reserved, + { "Reserved", "isl.reserved", FT_UINT16, BASE_HEX, NULL, 0x0, + "ISL Reserved", HFILL }}, #if 0 { &hf_isl_crc, { "CRC", "isl.crc", FT_UINT32, BASE_HEX, NULL, 0x0, |