]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[NETFILTER]: xt_iprange: fix typo in address family
authorPatrick McHardy <kaber@trash.net>
Fri, 8 Feb 2008 01:56:49 +0000 (17:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2008 01:56:49 +0000 (17:56 -0800)
The family for iprange_mt4 should be AF_INET, not AF_INET6.
Noticed by Jiri Moravec <jim.lkml@gmail.com>.

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

index 01035fc0e140637146c16b0413db56baf6aa3180..97715e31c0167f5fd782d68f106eb4d3e0e3608e 100644 (file)
@@ -148,7 +148,7 @@ static struct xt_match iprange_mt_reg[] __read_mostly = {
        {
                .name      = "iprange",
                .revision  = 1,
-               .family    = AF_INET6,
+               .family    = AF_INET,
                .match     = iprange_mt4,
                .matchsize = sizeof(struct xt_iprange_mtinfo),
                .me        = THIS_MODULE,