summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/ebtables-standalone.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2005-01-19 21:09:05 +0000
committerBart De Schuymer <bdschuym@pandora.be>2005-01-19 21:09:05 +0000
commit98984a8c623b592ddfb3b30ac92615422849eab3 (patch)
tree04f8b52a474e2ea45a4e3527369233ce783883a2 /userspace/ebtables2/ebtables-standalone.c
parent0c7965d9957b91c1027255de29e81f408f8ca8a7 (diff)
add ebtablesu scheme, along with general cleanup
Diffstat (limited to 'userspace/ebtables2/ebtables-standalone.c')
-rw-r--r--userspace/ebtables2/ebtables-standalone.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/userspace/ebtables2/ebtables-standalone.c b/userspace/ebtables2/ebtables-standalone.c
new file mode 100644
index 0000000..d349d39
--- /dev/null
+++ b/userspace/ebtables2/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;
+}