diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-02-11 03:33:11 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-02-11 03:33:11 +0000 |
commit | be81bc949a8d0e111b4d8e176963a234b38bf223 (patch) | |
tree | 17f4b141df07d882fa98dcee57fa873bb259ed5b /epan/dissectors/packet-arp.h | |
parent | 0f59bc7c4521cc6139dfe44d9775d06d99b8a583 (diff) |
Rename arphrdaddr_to_str() to tvb_arphrdaddr_to_str() and make it take a pointer a TVB
and an offset instead of (generally) a pointer into a TVB.
svn path=/trunk/; revision=35913
Diffstat (limited to 'epan/dissectors/packet-arp.h')
-rw-r--r-- | epan/dissectors/packet-arp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-arp.h b/epan/dissectors/packet-arp.h index 793d2a44cd..230cde7742 100644 --- a/epan/dissectors/packet-arp.h +++ b/epan/dissectors/packet-arp.h @@ -26,7 +26,7 @@ #ifndef __PACKET_ARP_H__ #define __PACKET_ARP_H__ -const gchar *arphrdaddr_to_str(const guint8 *ad, int ad_len, guint16 type); +const gchar *tvb_arphrdaddr_to_str(tvbuff_t *tvb, gint offset, int ad_len, guint16 type); const gchar *arphrdtype_to_str(guint16 hwtype, const char *fmt); void dissect_atm_nsap(tvbuff_t *tvb, int offset, int len, proto_tree *tree); |