diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-08-17 12:27:05 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-08-17 12:27:05 +0000 |
commit | 8769f17dba771c873c2921af32e1ee7192d77627 (patch) | |
tree | 5fb4c89a178be78037f504d783a89d0d3a2a1d6d /epan/dissectors/packet-extreme.c | |
parent | 79fd4be4dd8d51bc3e969408071181ef794f0ea7 (diff) |
As reported by Jim Young:
- The port number was incorrectly displayed
- Be a bit more verbose in the "Info" summary line.
- Display the version including the internal number.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15389 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-extreme.c')
-rw-r--r-- | epan/dissectors/packet-extreme.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-extreme.c b/epan/dissectors/packet-extreme.c index 3f20a2f98f..7e7000fbd8 100644 --- a/epan/dissectors/packet-extreme.c +++ b/epan/dissectors/packet-extreme.c @@ -361,7 +361,7 @@ dissect_info_tlv(tvbuff_t *tvb, packet_info *pinfo, int offset, int length, prot /* The slot and port numbers printed on the chassis are 1 bigger than the transmitted values indicate */ slot = tvb_get_ntohs(tvb, offset + 0 + 4) + 1; - port = tvb_get_ntohs(tvb, offset + 1 + 4) + 1; + port = tvb_get_ntohs(tvb, offset + 2 + 4) + 1; /* version */ major1 = tvb_get_guint8(tvb, offset + 12 + 4); @@ -370,8 +370,8 @@ dissect_info_tlv(tvbuff_t *tvb, packet_info *pinfo, int offset, int length, prot internal = tvb_get_guint8(tvb, offset + 15 + 4); info_item = proto_tree_add_text(tree, tvb, offset, length, - "Info: P: %d/%d V: %d.%d.%d", - slot, port, major1, major2, sustaining); + "Info: Port/Slot: %d/%d, Version: %d.%d.%d.%d", + slot, port, major1, major2, sustaining, internal); info_tree = proto_item_add_subtree(info_item, ett_edp_info); |