]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
iprange: warn on reverse range (log)
authorJan Engelhardt <jengelh@medozas.de>
Thu, 29 Oct 2009 18:03:38 +0000 (19:03 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Thu, 29 Oct 2009 18:03:38 +0000 (19:03 +0100)
Reverse ranges like B-A cause packets to be generally never matched,
as an address S does not match >=B && <=A (except for the border case
where S=A=B).

The kernel module itself does not check for reverse ranges, and it
seems nicer to check that in userspace anyway.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>

No differences found