aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fcswils.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-12-31 21:36:08 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-12-31 21:36:08 +0000
commit10d0689daf19db1eeb0544b911e6bbc2119b7723 (patch)
tree47bc3d89738f7b02abe75e6719e07fd97e210ff5 /epan/dissectors/packet-fcswils.c
parent7335f49b49df0c48c5d9ebff77a8cd8f8ecb1e52 (diff)
Fix a bug introduced in the previous checkin.
Make the names for list record types match the names used before the previous checkin. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12907 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-fcswils.c')
-rw-r--r--epan/dissectors/packet-fcswils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-fcswils.c b/epan/dissectors/packet-fcswils.c
index 84c965e513..93b1b50e2b 100644
--- a/epan/dissectors/packet-fcswils.c
+++ b/epan/dissectors/packet-fcswils.c
@@ -250,8 +250,8 @@ static const value_string fcswils_elp_fc_val[] = {
};
static const value_string fcswils_rectype_val[] = {
- {FC_SWILS_LRECTYPE_DOMAIN, "Domain ID List Rec"},
- {FC_SWILS_LRECTYPE_MCAST, "Multicast ID List Rec"},
+ {FC_SWILS_LRECTYPE_DOMAIN, "Domain ID Record"},
+ {FC_SWILS_LRECTYPE_MCAST, "Multicast ID Record"},
{0, NULL},
};
@@ -709,7 +709,7 @@ dissect_swils_efp (tvbuff_t *tvb, proto_tree *efp_tree, guint8 isreq _U_)
case FC_SWILS_LRECTYPE_DOMAIN:
proto_tree_add_item (lrec_tree, hf_swils_efp_dom_id, tvb, offset+1, 1, 0);
- tvb_memcpy (tvb, sname, offset, 8);
+ tvb_memcpy (tvb, sname, offset+8, 8);
proto_tree_add_string (lrec_tree, hf_swils_efp_switch_name, tvb, offset+8, 8,
fcwwn_to_str (sname));
break;