summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2009-02-12 20:19:57 +0000
committerBart De Schuymer <bdschuym@pandora.be>2009-02-12 20:19:57 +0000
commit3ba0f0a76167c24a62793e7230bcefc65e16b3ea (patch)
treeed74803669c72e24c0bb3a0b3e55720c499c8637 /extensions
parent2b58cc424f1014ccd8118c387802ca98ca894158 (diff)
prevent source code corruption with static build (reported by Tino Keitel)
Diffstat (limited to 'extensions')
-rw-r--r--extensions/ebt_nflog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/ebt_nflog.c b/extensions/ebt_nflog.c
index 23a0942..259bdb2 100644
--- a/extensions/ebt_nflog.c
+++ b/extensions/ebt_nflog.c
@@ -45,7 +45,7 @@ static void nflog_help()
"in-kernel queue\n");
}
-static void nflog_init(struct ebt_entry_watcher *watcher)
+static void init(struct ebt_entry_watcher *watcher)
{
struct ebt_nflog_info *info = (struct ebt_nflog_info *)watcher->data;
@@ -165,7 +165,7 @@ static struct ebt_u_watcher nflog_watcher = {
.name = "nflog",
.size = sizeof(struct ebt_nflog_info),
.help = nflog_help,
- .init = nflog_init,
+ .init = init,
.parse = nflog_parse,
.final_check = nflog_final_check,
.print = nflog_print,