]> Git Repo - linux.git/commit
[NETFILTER]: nfnetlink_log: fix byteorder confusion
authorPatrick McHardy <[email protected]>
Fri, 19 May 2006 09:17:18 +0000 (02:17 -0700)
committerDavid S. Miller <[email protected]>
Fri, 19 May 2006 09:17:18 +0000 (02:17 -0700)
commitee433530d96a7b0af24ab616e5b51f1d89f9ae38
treeef97ce3211d8a034a24de86a06741e662be2c27e
parent2c8ac66bb2ff89e759f0d632a27cc64205e9ddd9
[NETFILTER]: nfnetlink_log: fix byteorder confusion

flags is a u16, so use htons instead of htonl. Also avoid double
conversion.

Noticed by Alexey Dobriyan <[email protected]>

Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/netfilter/nfnetlink_log.c
This page took 0.050261 seconds and 4 git commands to generate.