iptables-1.3.2-20050720
[iptables.git] / extensions / libipt_fuzzy.c
index 6ebcb9f..d574db8 100644 (file)
@@ -43,7 +43,6 @@ static void
 init(struct ipt_entry_match *m, unsigned int *nfcache)
 {
        struct ipt_fuzzy_info *presentinfo = (struct ipt_fuzzy_info *)(m)->data;
-       *nfcache |= NFC_UNKNOWN;
 
        /*
         * Default rates ( I'll improve this very soon with something based 
@@ -138,19 +137,19 @@ save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
 
 }
 
-struct iptables_match fuzzy_match
-= { NULL,
-    "fuzzy",
-    IPTABLES_VERSION,
-    IPT_ALIGN(sizeof(struct ipt_fuzzy_info)),
-    IPT_ALIGN(sizeof(struct ipt_fuzzy_info)),
-    &help,
-    &init,
-    &parse,
-    &final_check,
-    &print,
-    &save,
-    opts
+static struct iptables_match fuzzy_match = { 
+       .next           = NULL,
+       .name           = "fuzzy",
+       .version        = IPTABLES_VERSION,
+       .size           = IPT_ALIGN(sizeof(struct ipt_fuzzy_info)),
+       .userspacesize  = IPT_ALIGN(sizeof(struct ipt_fuzzy_info)),
+       .help           = &help,
+       .init           = &init,
+       .parse          = &parse,
+       .final_check    = &final_check,
+       .print          = &print,
+       .save           = &save,
+       .extra_opts     = opts
 };
 
 void _init(void)