]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Giving --dst-range twice to iprange did not ring the bell
authorNicolas Bouliane <nib@cookinglinux.org>
Mon, 12 Jul 2004 07:16:54 +0000 (07:16 +0000)
committerJoszef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 12 Jul 2004 07:16:54 +0000 (07:16 +0000)
Bug reported and fixed by Nicolas Bouliane

extensions/libipt_iprange.c

index 8445884c878ab114cff9884b66597185d4718f8c..7e1a8cd698d66b112887a2e4f5ab74c7418dce3b 100644 (file)
@@ -99,7 +99,7 @@ parse(int c, char **argv, int invert, unsigned int *flags,
                        info->flags |= IPRANGE_DST_INV;
 
                parse_iprange(optarg, &info->dst);              
-               *flags = 1;
+
                break;
 
        default: