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 | 8339ff1d7d8694153e2daac032c0999fbf04aad9 (patch) | |
tree | 48d3400eb6d6ea2fc08c0680e328947a986f1b7d /extensions/ebtable_nat.c | |
parent | 464e7d9b2e853441282addc7484e5eee7d825514 (diff) |
Make ebtables library functions
Diffstat (limited to 'extensions/ebtable_nat.c')
-rw-r--r-- | extensions/ebtable_nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/ebtable_nat.c b/extensions/ebtable_nat.c index 7998e7d..b151dc5 100644 --- a/extensions/ebtable_nat.c +++ b/extensions/ebtable_nat.c @@ -4,7 +4,7 @@ #define NAT_VALID_HOOKS ((1 << NF_BR_PRE_ROUTING) | (1 << NF_BR_LOCAL_OUT) | \ (1 << NF_BR_POST_ROUTING)) -static void print_help(char **hn) +static void print_help(const char **hn) { int i; @@ -25,5 +25,5 @@ ebt_u_table table = static void _init(void) __attribute__ ((constructor)); static void _init(void) { - register_table(&table); + ebt_register_table(&table); } |