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-vlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-vlan.c') diff --git a/epan/dissectors/packet-vlan.c b/epan/dissectors/packet-vlan.c index 951219f31c..b075b2b925 100644 --- a/epan/dissectors/packet-vlan.c +++ b/epan/dissectors/packet-vlan.c @@ -106,7 +106,7 @@ capture_vlan(const guchar *pd, int offset, int len, packet_counts *ld ) { ld->other++; return; } - encap_proto = pntohs( &pd[offset+2] ); + encap_proto = pntoh16( &pd[offset+2] ); if ( encap_proto <= IEEE_802_3_MAX_LEN) { if ( pd[offset+4] == 0xff && pd[offset+5] == 0xff ) { capture_ipx(ld); -- cgit v1.2.3