]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Correct the family member value of libxt_mark revision 1
authorJan Engelhardt <jengelh@medozas.de>
Thu, 14 Feb 2008 01:10:34 +0000 (02:10 +0100)
committerPatrick McHardy <kaber@trash.net>
Sun, 6 Apr 2008 15:40:11 +0000 (17:40 +0200)
libxt_mark rev1 used AF_INET6 in the class structure where it should
have used AF_INET.

extensions/libxt_mark.c

index 1dfcc58e32afcdc36d667958b3fb4d4c6306cfd7..af7f844aeed504edabe47c4d30dd120e1be904b6 100644 (file)
@@ -182,7 +182,7 @@ static struct xtables_match mark_mt_reg = {
        .version        = IPTABLES_VERSION,
        .name           = "mark",
        .revision       = 1,
-       .family         = AF_INET6,
+       .family         = AF_INET,
        .size           = XT_ALIGN(sizeof(struct xt_mark_mtinfo1)),
        .userspacesize  = XT_ALIGN(sizeof(struct xt_mark_mtinfo1)),
        .help           = mark_mt_help,