]> err.no Git - linux-2.6/blobdiff - net/ipv4/netfilter/ipt_LOG.c
Merge branch 'for-2.6.20' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux-2.6] / net / ipv4 / netfilter / ipt_LOG.c
index 39fd4c2a2386248421a74795665bd50dda749293..7dc820df8bc5aafd33c4fc5380f1bc316f4a4923 100644 (file)
@@ -416,8 +416,7 @@ ipt_log_target(struct sk_buff **pskb,
               const struct net_device *out,
               unsigned int hooknum,
               const struct xt_target *target,
-              const void *targinfo,
-              void *userinfo)
+              const void *targinfo)
 {
        const struct ipt_log_info *loginfo = targinfo;
        struct nf_loginfo li;
@@ -428,7 +427,7 @@ ipt_log_target(struct sk_buff **pskb,
 
        if (loginfo->logflags & IPT_LOG_NFLOG)
                nf_log_packet(PF_INET, hooknum, *pskb, in, out, &li,
-                             loginfo->prefix);
+                             "%s", loginfo->prefix);
        else
                ipt_log_packet(PF_INET, hooknum, *pskb, in, out, &li,
                               loginfo->prefix);
@@ -440,7 +439,6 @@ static int ipt_log_checkentry(const char *tablename,
                              const void *e,
                              const struct xt_target *target,
                              void *targinfo,
-                             unsigned int targinfosize,
                              unsigned int hook_mask)
 {
        const struct ipt_log_info *loginfo = targinfo;