diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2005-01-19 21:09:05 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2005-01-19 21:09:05 +0000 |
commit | 6622a01ea3874e189d877c954f791259b8e6a504 (patch) | |
tree | 0e7e567e47f267fb0f90689e96fcb940d2c50a28 /ebtables-standalone.c | |
parent | 00bbac8669081e7f3650805eef75c089a2c97864 (diff) | |
download | ebtables-6622a01ea3874e189d877c954f791259b8e6a504.tar.gz ebtables-6622a01ea3874e189d877c954f791259b8e6a504.tar.bz2 ebtables-6622a01ea3874e189d877c954f791259b8e6a504.zip |
add ebtablesu scheme, along with general cleanup
Diffstat (limited to 'ebtables-standalone.c')
-rw-r--r-- | ebtables-standalone.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ebtables-standalone.c b/ebtables-standalone.c new file mode 100644 index 0000000..d349d39 --- /dev/null +++ b/ebtables-standalone.c @@ -0,0 +1,14 @@ +#include <string.h> +#include "include/ebtables_u.h" + +static struct ebt_u_replace replace; +void ebt_early_init_once(); + +int main(int argc, char *argv[]) +{ + ebt_silent = 0; + ebt_early_init_once(); + strcpy(replace.name, "filter"); + do_command(argc, argv, EXEC_STYLE_PRG, &replace); + return 0; +} |