mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
netfilter: fix warning about invalid const usage
This patch fixes the declaration of the logger structure in ebt_log
and ebt_ulog: I forgot to remove the const option from their declaration
in the commit ca735b3aaa
("netfilter:
use a linked list of loggers").
Pointed-out-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a6c4232272
commit
704b3ea3b9
2 changed files with 2 additions and 2 deletions
|
@ -214,7 +214,7 @@ static struct xt_target ebt_log_tg_reg __read_mostly = {
|
|||
.me = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const struct nf_logger ebt_log_logger = {
|
||||
static struct nf_logger ebt_log_logger __read_mostly = {
|
||||
.name = "ebt_log",
|
||||
.logfn = &ebt_log_packet,
|
||||
.me = THIS_MODULE,
|
||||
|
|
|
@ -279,7 +279,7 @@ static struct xt_target ebt_ulog_tg_reg __read_mostly = {
|
|||
.me = THIS_MODULE,
|
||||
};
|
||||
|
||||
static const struct nf_logger ebt_ulog_logger = {
|
||||
static struct nf_logger ebt_ulog_logger __read_mostly = {
|
||||
.name = "ulog",
|
||||
.logfn = &ebt_log_packet,
|
||||
.me = THIS_MODULE,
|
||||
|
|
Loading…
Reference in a new issue