summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-mactelnet.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2011-01-21 02:48:55 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2011-01-21 02:48:55 +0000
commit6e0fcb7ab5d1e24abfdd80eb51e4537b5b2dd191 (patch)
treeb0e59e8026e85564d0963662dbd4e08a5738bea0 /epan/dissectors/packet-mactelnet.c
parent03066d08202df49fab3daaa84287dea16cdd3510 (diff)
downloadwireshark-6e0fcb7ab5d1e24abfdd80eb51e4537b5b2dd191.tar.gz
Introduce, and start using, tvb_eth_to_str().
Export tvb_*_to_str() and put them in alphabetical order. svn path=/trunk/; revision=35602
Diffstat (limited to 'epan/dissectors/packet-mactelnet.c')
-rw-r--r--epan/dissectors/packet-mactelnet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mactelnet.c b/epan/dissectors/packet-mactelnet.c
index 91f4a12302..7a9e58f79c 100644
--- a/epan/dissectors/packet-mactelnet.c
+++ b/epan/dissectors/packet-mactelnet.c
@@ -125,8 +125,8 @@ dissect_mactelnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
type = tvb_get_guint8(tvb, 1);
col_add_fstr(pinfo->cinfo, COL_INFO, "%s > %s Type: %s",
- ether_to_str(tvb_get_ptr(tvb, 2, 6)),
- ether_to_str(tvb_get_ptr(tvb, 8, 6)),
+ tvb_ether_to_str(tvb, 2),
+ tvb_ether_to_str(tvb, 8),
val_to_str(type, packettypenames, "Unknown Type:0x%02x"));
if (tree) {