From 76bee55e3332e54d8befc5bfd49c5f20c0a57451 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Thu, 12 Feb 2009 20:19:57 +0000 Subject: prevent source code corruption with static build (reported by Tino Keitel) --- userspace/ebtables2/extensions/ebt_nflog.c | 4 ++-- 1 file 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, -- cgit v1.2.3