]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/netfilter/ipt_LOG.c
[NETFILTER]: nf_log: constify struct nf_logger and nf_log_packet loginfo arg
[linux-2.6-omap-h63xx.git] / net / ipv4 / netfilter / ipt_LOG.c
index f8c613a6eb04e47fc06a343d9b162b2ce380ec91..5acdddfa6add9dfeff483ca945c27be56d20e61d 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/netfilter.h>
 #include <linux/netfilter/x_tables.h>
 #include <linux/netfilter_ipv4/ipt_LOG.h>
+#include <net/netfilter/nf_log.h>
 
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
@@ -464,7 +465,7 @@ static struct xt_target log_tg_reg __read_mostly = {
        .me             = THIS_MODULE,
 };
 
-static struct nf_logger ipt_log_logger ={
+static const struct nf_logger ipt_log_logger ={
        .name           = "ipt_LOG",
        .logfn          = &ipt_log_packet,
        .me             = THIS_MODULE,