diff options
author | Patrick McHardy <kaber@trash.net> | 2006-05-19 02:17:18 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-05-19 02:17:18 -0700 |
commit | ee433530d96a7b0af24ab616e5b51f1d89f9ae38 (patch) | |
tree | ef97ce3211d8a034a24de86a06741e662be2c27e /net/sctp/socket.c | |
parent | 2c8ac66bb2ff89e759f0d632a27cc64205e9ddd9 (diff) | |
download | lwn-ee433530d96a7b0af24ab616e5b51f1d89f9ae38.tar.gz lwn-ee433530d96a7b0af24ab616e5b51f1d89f9ae38.zip |
[NETFILTER]: nfnetlink_log: fix byteorder confusion
flags is a u16, so use htons instead of htonl. Also avoid double
conversion.
Noticed by Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/socket.c')
0 files changed, 0 insertions, 0 deletions