summaryrefslogtreecommitdiffstats
path: root/ip6tables-restore.c
diff options
context:
space:
mode:
authorAndrás Kis-Szabó <kisza@securityaudit.hu>2002-08-14 11:40:41 +0000
committerHarald Welte <laforge@gnumonks.org>2002-08-14 11:40:41 +0000
commit0c4188f446e7c0ed07076c69d1d7f336a92efc8b (patch)
tree5f5672a529928f4599b8cbe65046372e840b0676 /ip6tables-restore.c
parentf4e6683c5a4c80e494a2167d1a64d1b9c63587aa (diff)
minor fixes by kisza:
- remove -C(check) function from ip6tables - -M added to the getopts()'s list (missed) - small change in the iptables help - remove some unused code - some GPL notice added
Diffstat (limited to 'ip6tables-restore.c')
-rw-r--r--ip6tables-restore.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/ip6tables-restore.c b/ip6tables-restore.c
index f4a86975..66801133 100644
--- a/ip6tables-restore.c
+++ b/ip6tables-restore.c
@@ -5,8 +5,9 @@
* Authors:
* Harald Welte <laforge@gnumonks.org>
* Rusty Russell <rusty@linuxcare.com.au>
+ * This code is distributed under the terms of GNU GPL v2
*
- * $Id: ip6tables-restore.c,v 1.8 2002/03/03 09:44:31 laforge Exp $
+ * $Id: ip6tables-restore.c,v 1.9 2002/05/29 13:08:15 laforge Exp $
*/
#include <getopt.h>
@@ -23,12 +24,6 @@
#define DEBUGP(x, args...)
#endif
-/*
-extern int for_each_chain(int (*fn)(const ip6t_chainlabel, int, ip6tc_handle_t *), int verbose, int builtinstoo, ip6tc_handle_t *handle);
-extern int flush_entries(const ip6t_chainlabel chain, int verbose, ip6tc_handle_t *handle);
-extern int delete_chain(const ip6t_chainlabel chain, int verbose, ip6tc_handle_t *handle);
-*/
-
static int binary = 0, counters = 0, verbose = 0, noflush = 0;
/* Keeping track of external matches and targets. */