summaryrefslogtreecommitdiffstats
path: root/iptables-save.c
diff options
context:
space:
mode:
authorBastiaan Bakker <bastiaan.bakker@lifeline.nl>2004-06-25 11:18:57 +0000
committerJoszef Kadlecsik <kadlec@blackhole.kfki.hu>2004-06-25 11:18:57 +0000
commit4e3771f04687657753f2a3666225341a3525f07e (patch)
tree09c8ba20c9147ac0d26d883bde436e57d2e4469a /iptables-save.c
parent2057750071822d72200fe06f759009c216229542 (diff)
Bastiaan Bakker's patch to combine iptables, iptables-save and iptables-restore
for size reduction applied
Diffstat (limited to 'iptables-save.c')
-rw-r--r--iptables-save.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/iptables-save.c b/iptables-save.c
index 14314a5f..d825130e 100644
--- a/iptables-save.c
+++ b/iptables-save.c
@@ -321,7 +321,13 @@ static int do_output(const char *tablename)
* :Chain name POLICY packets bytes
* rule
*/
-int main(int argc, char *argv[])
+#ifdef IPTABLES_MULTI
+int
+iptables_save_main(int argc, char *argv[])
+#else
+int
+main(int argc, char *argv[])
+#endif
{
const char *tablename = NULL;
int c;