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-atm.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-atm.c')
-rw-r--r-- | epan/dissectors/packet-atm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-atm.c b/epan/dissectors/packet-atm.c index d1a6028ab9..a9b253dd9a 100644 --- a/epan/dissectors/packet-atm.c +++ b/epan/dissectors/packet-atm.c @@ -1147,11 +1147,11 @@ dissect_reassembled_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, { call_dissector(llc_handle, next_tvb, pinfo, tree); } - else if ((pntohs(octet) & 0xff) == PPP_IP) + else if ((pntoh16(octet) & 0xff) == PPP_IP) { call_dissector(ppp_handle, next_tvb, pinfo, tree); } - else if (pntohs(octet) == 0x00) + else if (pntoh16(octet) == 0x00) { /* assume vc muxed bridged ethernet */ proto_tree_add_text(tree, tvb, 0, 2, "Pad: 0x0000"); |