diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-01-16 18:37:56 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-01-16 18:37:56 +0000 |
commit | 45393f35e39fa3e077c1d784cb47de0b4074ee27 (patch) | |
tree | f2ddb169bd77855f84a5a0f44b6b7585023cbd5c /epan/dissectors/packet-fcsp.c | |
parent | 7d42ea21da102e2a4bfb8c0ccc057a7a8981d703 (diff) |
Use tvb_fc_to_str() and tvb_fcwwm_to_str().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35557 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-fcsp.c')
-rw-r--r-- | epan/dissectors/packet-fcsp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-fcsp.c b/epan/dissectors/packet-fcsp.c index 2a70120869..342af7c729 100644 --- a/epan/dissectors/packet-fcsp.c +++ b/epan/dissectors/packet-fcsp.c @@ -250,9 +250,7 @@ static void dissect_fcsp_dhchap_challenge (tvbuff_t *tvb, proto_tree *tree) if (name_type == FC_AUTH_NAME_TYPE_WWN) { proto_tree_add_string (tree, hf_auth_responder_wwn, tvb, offset+4, - 8, - fcwwn_to_str (tvb_get_ptr (tvb, offset+4, - 8))); + 8, tvb_fcwwn_to_str (tvb, offset+4)); } else { proto_tree_add_item (tree, hf_auth_responder_name, tvb, offset+4, @@ -341,7 +339,7 @@ static void dissect_fcsp_auth_negotiate (tvbuff_t *tvb, proto_tree *tree) if (name_type == FC_AUTH_NAME_TYPE_WWN) { proto_tree_add_string (tree, hf_auth_initiator_wwn, tvb, offset+4, 8, - fcwwn_to_str (tvb_get_ptr (tvb, offset+4, 8))); + tvb_fcwwn_to_str (tvb, offset+4)); } else { proto_tree_add_item (tree, hf_auth_initiator_name, tvb, offset+4, |