From 8339ff1d7d8694153e2daac032c0999fbf04aad9 Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Wed, 14 Jan 2004 20:05:27 +0000 Subject: Make ebtables library functions --- extensions/ebtable_filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/ebtable_filter.c') diff --git a/extensions/ebtable_filter.c b/extensions/ebtable_filter.c index 724198c..904a857 100644 --- a/extensions/ebtable_filter.c +++ b/extensions/ebtable_filter.c @@ -4,7 +4,7 @@ #define FILTER_VALID_HOOKS ((1 << NF_BR_LOCAL_IN) | (1 << NF_BR_FORWARD) | \ (1 << NF_BR_LOCAL_OUT)) -static void print_help(char **hn) +static void print_help(const char **hn) { int i; @@ -24,5 +24,5 @@ static struct ebt_u_table table = static void _init(void) __attribute__ ((constructor)); static void _init(void) { - register_table(&table); + ebt_register_table(&table); } -- cgit v1.2.3