summaryrefslogtreecommitdiffstats
path: root/extensions/ebtable_broute.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2004-01-14 20:05:27 +0000
committerBart De Schuymer <bdschuym@pandora.be>2004-01-14 20:05:27 +0000
commit8339ff1d7d8694153e2daac032c0999fbf04aad9 (patch)
tree48d3400eb6d6ea2fc08c0680e328947a986f1b7d /extensions/ebtable_broute.c
parent464e7d9b2e853441282addc7484e5eee7d825514 (diff)
Make ebtables library functions
Diffstat (limited to 'extensions/ebtable_broute.c')
-rw-r--r--extensions/ebtable_broute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/ebtable_broute.c b/extensions/ebtable_broute.c
index 155d9ce..362183a 100644
--- a/extensions/ebtable_broute.c
+++ b/extensions/ebtable_broute.c
@@ -2,7 +2,7 @@
#include "../include/ebtables_u.h"
-static void print_help(char **hn)
+static void print_help(const char **hn)
{
printf("Supported chain for the broute table:\n");
printf("%s\n",hn[NF_BR_BROUTING]);
@@ -18,5 +18,5 @@ ebt_u_table table =
static void _init(void) __attribute__ ((constructor));
static void _init(void)
{
- register_table(&table);
+ ebt_register_table(&table);
}