[NETFILTER]: nf_log: constify struct nf_logger and nf_log_packet loginfo arg

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Patrick McHardy
2007-12-17 22:39:08 -08:00
committed by David S. Miller
parent f01ffbd6e7
commit 7b2f9631e7
7 changed files with 13 additions and 13 deletions

View File

@@ -183,7 +183,7 @@ static struct ebt_watcher log =
.me = THIS_MODULE,
};
static struct nf_logger ebt_log_logger = {
static const struct nf_logger ebt_log_logger = {
.name = "ebt_log",
.logfn = &ebt_log_packet,
.me = THIS_MODULE,

View File

@@ -279,7 +279,7 @@ static struct ebt_watcher ulog = {
.me = THIS_MODULE,
};
static struct nf_logger ebt_ulog_logger = {
static const struct nf_logger ebt_ulog_logger = {
.name = EBT_ULOG_WATCHER,
.logfn = &ebt_log_packet,
.me = THIS_MODULE,