summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2
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
commit76bee55e3332e54d8befc5bfd49c5f20c0a57451 (patch)
tree660d163b295a7dbaea6a5622866d1475017f11a2 /userspace/ebtables2
parentaa1174b0f35d1755da132fea5721db20b0eb5936 (diff)
prevent source code corruption with static build (reported by Tino Keitel)
Diffstat (limited to 'userspace/ebtables2')
-rw-r--r--userspace/ebtables2/extensions/ebt_nflog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/userspace/ebtables2/extensions/ebt_nflog.c b/userspace/ebtables2/extensions/ebt_nflog.c
index 23a0942..259bdb2 100644
--- a/userspace/ebtables2/extensions/ebt_nflog.c
+++ b/userspace/ebtables2/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,