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

Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Patrick McHardy 2007-12-17 22:39:08 -08:00 • committed by David S. Miller
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,