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-enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-enc.c') diff --git a/epan/dissectors/packet-enc.c b/epan/dissectors/packet-enc.c index 0ffffaad45..b45a151ee4 100644 --- a/epan/dissectors/packet-enc.c +++ b/epan/dissectors/packet-enc.c @@ -76,7 +76,7 @@ capture_enc(const guchar *pd, int len, packet_counts *ld) return; } - af = pntohl(pd + offsetof(struct enchdr, af)); + af = pntoh32(pd + offsetof(struct enchdr, af)); switch (af) { case BSD_AF_INET: -- cgit v1.2.3