aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nbns.c
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-21 02:48:55 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-21 02:48:55 +0000
commit9a739c62d81bcfd892a5c012c7858725c5d49659 (patch)
treeb0e59e8026e85564d0963662dbd4e08a5738bea0 /epan/dissectors/packet-nbns.c
parentd20fb9313af006fa091f45e4ffed2ed29996042d (diff)
Introduce, and start using, tvb_eth_to_str().
Export tvb_*_to_str() and put them in alphabetical order. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35602 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-nbns.c')
-rw-r--r--epan/dissectors/packet-nbns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-nbns.c b/epan/dissectors/packet-nbns.c
index 0c7993f843..e99839cad3 100644
--- a/epan/dissectors/packet-nbns.c
+++ b/epan/dissectors/packet-nbns.c
@@ -775,7 +775,7 @@ dissect_nbns_answer(tvbuff_t *tvb, int offset, int nbns_data_offset,
}
proto_tree_add_text(rr_tree, tvb, cur_offset, 6,
"Unit ID: %s",
- ether_to_str(tvb_get_ptr(tvb, cur_offset, 6)));
+ tvb_ether_to_str(tvb, cur_offset));
cur_offset += 6;
data_len -= 6;