diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2004-01-14 20:05:27 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2004-01-14 20:05:27 +0000 |
commit | 9c16370646dcac6ba9803ffea4c552014f7eee11 (patch) | |
tree | 6bf8e02c571f1502c20489248e36890d9e9b3291 /userspace/ebtables2/extensions/ebtable_filter.c | |
parent | 8c80b19bc2abf6f6cebc64018b0097a33548135d (diff) |
Make ebtables library functions
Diffstat (limited to 'userspace/ebtables2/extensions/ebtable_filter.c')
-rw-r--r-- | userspace/ebtables2/extensions/ebtable_filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/userspace/ebtables2/extensions/ebtable_filter.c b/userspace/ebtables2/extensions/ebtable_filter.c index 724198c..904a857 100644 --- a/userspace/ebtables2/extensions/ebtable_filter.c +++ b/userspace/ebtables2/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); } |