[NETFILTER]: xt_iprange: fix subtraction-based comparison
authorJan Engelhardt <jengelh@computergmbh.de>
Wed, 20 Feb 2008 01:20:06 +0000 (17:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Feb 2008 01:20:06 +0000 (17:20 -0800)
commit27ecb1ff0afa2260e6856c05efd6fedcd0cc76b9
tree0fe60b33e9479ed8fe8e98b2f9860e8ffef0a312
parent7d9904c2604ce091c97c225b5e2f92f3e7cc2e3a
[NETFILTER]: xt_iprange: fix subtraction-based comparison

The host address parts need to be converted to host-endian first
before arithmetic makes any sense on them.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_iprange.c