netfilter: nft_fib: convert htonl to ntohl properly
authorLiping Zhang <zlpnobody@gmail.com>
Wed, 23 Nov 2016 14:12:20 +0000 (22:12 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 6 Dec 2016 20:42:20 +0000 (21:42 +0100)
commit11583438b73fbc9117ff8afcbde8c934d0d63713
tree3bb98c903e1421fe0f31ec80aea9ad6dd4a5c664
parentae0ac0ed6fcf5af3be0f63eb935f483f44a402d2
netfilter: nft_fib: convert htonl to ntohl properly

Acctually ntohl and htonl are identical, so this doesn't affect
anything, but it is conceptually wrong.

Signed-off-by: Liping Zhang <zlpnobody@gmail.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/nft_fib_ipv4.c
net/ipv6/netfilter/nft_fib_ipv6.c
net/netfilter/nft_fib.c