aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eth.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-29 18:59:06 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-29 18:59:06 +0000
commit5ac6474c945133a8415fb3be917859e5d42b6256 (patch)
treeee20c73dfaf23171bd739a6a3d7558db0f451097 /epan/dissectors/packet-eth.c
parent288efa5128341fab8907f3a2969a0bed95ae65cf (diff)
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
Diffstat (limited to 'epan/dissectors/packet-eth.c')
-rw-r--r--epan/dissectors/packet-eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-eth.c b/epan/dissectors/packet-eth.c
index b6c89c28a7..fe0861e226 100644
--- a/epan/dissectors/packet-eth.c
+++ b/epan/dissectors/packet-eth.c
@@ -133,7 +133,7 @@ capture_eth(const guchar *pd, int offset, int len, packet_counts *ld)
return;
}
- etype = pntohs(&pd[offset+12]);
+ etype = pntoh16(&pd[offset+12]);
if (etype <= IEEE_802_3_MAX_LEN) {
/* Oh, yuck. Cisco ISL frames require special interpretation of the