diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-01-16 18:37:56 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-01-16 18:37:56 +0000 |
commit | c04dd5fda9af1d2fdac3eb2d16b7e6de757558a9 (patch) | |
tree | f2ddb169bd77855f84a5a0f44b6b7585023cbd5c /epan/dissectors/packet-ipfc.c | |
parent | b80813a45c6309757590bcfe452364f8dab8270f (diff) |
Use tvb_fc_to_str() and tvb_fcwwm_to_str().
svn path=/trunk/; revision=35557
Diffstat (limited to 'epan/dissectors/packet-ipfc.c')
-rw-r--r-- | epan/dissectors/packet-ipfc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-ipfc.c b/epan/dissectors/packet-ipfc.c index e3b7f49bf5..08edffd006 100644 --- a/epan/dissectors/packet-ipfc.c +++ b/epan/dissectors/packet-ipfc.c @@ -15,12 +15,12 @@ * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -81,9 +81,9 @@ dissect_ipfc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) ipfc_tree = proto_item_add_subtree (ti, ett_ipfc); proto_tree_add_string (ipfc_tree, hf_ipfc_network_da, tvb, offset, 8, - fcwwn_to_str (tvb_get_ptr (tvb, offset, 8))); + tvb_fcwwn_to_str (tvb, offset)); proto_tree_add_string (ipfc_tree, hf_ipfc_network_sa, tvb, offset+8, 8, - fcwwn_to_str (tvb_get_ptr (tvb, offset+8, 8))); + tvb_fcwwn_to_str (tvb, offset+8)); } next_tvb = tvb_new_subset_remaining (tvb, 16); @@ -98,7 +98,7 @@ dissect_ipfc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) void proto_register_ipfc (void) -{ +{ /* Setup list of header fields See Section 1.6.1 for details*/ static hf_register_info hf[] = { |