aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vmlab.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-12-19 21:42:14 -0500
committerMichael Mann <mmann78@netscape.net>2014-12-21 15:13:30 +0000
commitf002332d88a8253cb823cffe82bcedcf4ac196a4 (patch)
tree188434acdbcb2d7f1843e19ebc69bc1af94b7e18 /epan/dissectors/packet-vmlab.c
parentcdaa6698297a9e14ae9b321f0c6ee536afa917b6 (diff)
Replace ether_to_str with either address_to_str or tvb_ether_to_str.
Change-Id: I8cce9fddbfe950e27e96ea8a5a6d2e0921ff4260 Reviewed-on: https://code.wireshark.org/review/5933 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-vmlab.c')
-rw-r--r--epan/dissectors/packet-vmlab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-vmlab.c b/epan/dissectors/packet-vmlab.c
index 60a3ef754f..823152f552 100644
--- a/epan/dissectors/packet-vmlab.c
+++ b/epan/dissectors/packet-vmlab.c
@@ -127,7 +127,7 @@ dissect_vmlab(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset += 6;
proto_item_append_text(ti, ", Src: %s (%s), Dst: %s (%s)",
- get_ether_name(src_addr), ether_to_str(src_addr), get_ether_name(dst_addr), ether_to_str(dst_addr));
+ get_ether_name(src_addr), tvb_ether_to_str(tvb, offset-6), get_ether_name(dst_addr), tvb_ether_to_str(tvb, offset-12));
/* Encapsulated Ethertype is also part of the block*/
encap_proto = tvb_get_ntohs(tvb, offset);