diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-08-24 08:42:37 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-08-24 08:42:37 +0000 |
commit | 5fbc5c35b3aee288f523ad06505c0035fc36f023 (patch) | |
tree | 67c0a0184213ad755678d2848dd6a8398580efb3 /br-nf-bds/linux/net/core/netfilter.c | |
parent | 8b4e9ab8c2ed0ea829128ff67a9febf69d5defba (diff) |
update to 2.4.20-pre4
Diffstat (limited to 'br-nf-bds/linux/net/core/netfilter.c')
-rw-r--r-- | br-nf-bds/linux/net/core/netfilter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/br-nf-bds/linux/net/core/netfilter.c b/br-nf-bds/linux/net/core/netfilter.c index 573968e..198dad6 100644 --- a/br-nf-bds/linux/net/core/netfilter.c +++ b/br-nf-bds/linux/net/core/netfilter.c @@ -83,8 +83,7 @@ void nf_unregister_hook(struct nf_hook_ops *reg) /* Do exclusive ranges overlap? */ static inline int overlap(int min1, int max1, int min2, int max2) { - return (min1 >= min2 && min1 < max2) - || (max1 > min2 && max1 <= max2); + return max1 > min2 && min1 < max2; } /* Functions to register sockopt ranges (exclusive). */ |