diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-11-29 18:59:06 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-11-29 18:59:06 +0000 |
commit | 5ac6474c945133a8415fb3be917859e5d42b6256 (patch) | |
tree | ee20c73dfaf23171bd739a6a3d7558db0f451097 /epan/dissectors/packet-tr.c | |
parent | 288efa5128341fab8907f3a2969a0bed95ae65cf (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-tr.c')
-rw-r--r-- | epan/dissectors/packet-tr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tr.c b/epan/dissectors/packet-tr.c index 5e61797bac..63b7e0d5fe 100644 --- a/epan/dissectors/packet-tr.c +++ b/epan/dissectors/packet-tr.c @@ -243,7 +243,7 @@ capture_tr(const guchar *pd, int offset, int len, packet_counts *ld) { */ if (!source_routed && trn_rif_bytes > 0) { if (pd[offset + 0x0e] != pd[offset + 0x0f]) { - first2_sr = pntohs(&pd[offset + 0xe0 + trn_rif_bytes]); + first2_sr = pntoh16(&pd[offset + 0xe0 + trn_rif_bytes]); if ( (first2_sr == 0xaaaa && pd[offset + 0x10 + trn_rif_bytes] == 0x03) || |