aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-12-18 01:39:08 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:58:59 -0500
commit7b2f9631e789c3e7d59201c21f09a24cd6ce3b1a (patch)
tree83a7ded3b78af85b5a1923fb15165248e99b4f7a /net/bridge
parentf01ffbd6e7d001ccf9168b33507958a51ce0ffcf (diff)
[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>
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/netfilter/ebt_log.c2
-rw-r--r--net/bridge/netfilter/ebt_ulog.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/netfilter/ebt_log.c b/net/bridge/netfilter/ebt_log.c
index fcb3b54dc191..3be9e9898553 100644
--- a/net/bridge/netfilter/ebt_log.c
+++ b/net/bridge/netfilter/ebt_log.c
@@ -183,7 +183,7 @@ static struct ebt_watcher log =
183 .me = THIS_MODULE, 183 .me = THIS_MODULE,
184}; 184};
185 185
186static struct nf_logger ebt_log_logger = { 186static const struct nf_logger ebt_log_logger = {
187 .name = "ebt_log", 187 .name = "ebt_log",
188 .logfn = &ebt_log_packet, 188 .logfn = &ebt_log_packet,
189 .me = THIS_MODULE, 189 .me = THIS_MODULE,
diff --git a/net/bridge/netfilter/ebt_ulog.c b/net/bridge/netfilter/ebt_ulog.c
index 1b9ca07f44ff..b73ba28bcbe8 100644
--- a/net/bridge/netfilter/ebt_ulog.c
+++ b/net/bridge/netfilter/ebt_ulog.c
@@ -279,7 +279,7 @@ static struct ebt_watcher ulog = {
279 .me = THIS_MODULE, 279 .me = THIS_MODULE,
280}; 280};
281 281
282static struct nf_logger ebt_ulog_logger = { 282static const struct nf_logger ebt_ulog_logger = {
283 .name = EBT_ULOG_WATCHER, 283 .name = EBT_ULOG_WATCHER,
284 .logfn = &ebt_log_packet, 284 .logfn = &ebt_log_packet,
285 .me = THIS_MODULE, 285 .me = THIS_MODULE,