From 5ac6474c945133a8415fb3be917859e5d42b6256 Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Fri, 29 Nov 2013 18:59:06 +0000 Subject: Rename some of pint.h macros to match common style (bits number on the end). pntohs -> pntoh16 pntohl -> pntoh32 pletohs -> pletoh16 pletohl -> pletoh32 phtons -> phton16 phtonl -> phton32 svn path=/trunk/; revision=53652 --- epan/dissectors/packet-ieee80211-prism.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-ieee80211-prism.c') diff --git a/epan/dissectors/packet-ieee80211-prism.c b/epan/dissectors/packet-ieee80211-prism.c index b7e7fbaaea..ed8fa6fe65 100644 --- a/epan/dissectors/packet-ieee80211-prism.c +++ b/epan/dissectors/packet-ieee80211-prism.c @@ -244,7 +244,7 @@ capture_prism(const guchar *pd, int offset, int len, packet_counts *ld) } /* Some captures with DLT_PRISM have the AVS WLAN header */ - cookie = pntohl(pd); + cookie = pntoh32(pd); if ((cookie == WLANCAP_MAGIC_COOKIE_V1) || (cookie == WLANCAP_MAGIC_COOKIE_V2)) { capture_wlancap(pd, offset, len, ld); -- cgit v1.2.3