netfilter: xtables: move extension arguments into compound structure (5/6)
[deliverable/linux.git] / net / ipv4 / netfilter / ipt_ULOG.c
index 46c0df0dc2dc6a5ed8721fb3f348a35273f19d7c..18a2826b57c6f2c7e16cd2c091ca68db772b61f6 100644 (file)
@@ -313,12 +313,9 @@ static void ipt_logfn(u_int8_t pf,
        ipt_ulog_packet(hooknum, skb, in, out, &loginfo, prefix);
 }
 
-static bool
-ulog_tg_check(const char *tablename, const void *e,
-              const struct xt_target *target, void *targinfo,
-              unsigned int hookmask)
+static bool ulog_tg_check(const struct xt_tgchk_param *par)
 {
-       const struct ipt_ulog_info *loginfo = targinfo;
+       const struct ipt_ulog_info *loginfo = par->targinfo;
 
        if (loginfo->prefix[sizeof(loginfo->prefix) - 1] != '\0') {
                pr_debug("ipt_ULOG: prefix term %i\n",
This page took 0.038554 seconds and 5 git commands to generate.