summaryrefslogtreecommitdiffstats
path: root/iptables-restore.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2001-08-06 18:50:21 +0000
committerHarald Welte <laforge@gnumonks.org>2001-08-06 18:50:21 +0000
commit3efb6ead2e51fe1eca55bcb2b06afb4dc4b8cb7c (patch)
treed7a51c0752b5a80c8408692277f2b660ce4dfc2b /iptables-restore.c
parent2acb25b8d54cb7430f0751dd36861499e1cd28bd (diff)
- added patch to support statically linking of iptables
- iptables-save/-restore is no longer experimental
Diffstat (limited to 'iptables-restore.c')
-rw-r--r--iptables-restore.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/iptables-restore.c b/iptables-restore.c
index b6bcb7b7..2f4d8768 100644
--- a/iptables-restore.c
+++ b/iptables-restore.c
@@ -4,7 +4,7 @@
*
* This coude is distributed under the terms of GNU GPL
*
- * $Id: iptables-restore.c,v 1.12 2001/05/26 04:41:56 laforge Exp $
+ * $Id: iptables-restore.c,v 1.13 2001/06/16 18:25:25 laforge Exp $
*/
#include <getopt.h>
@@ -109,6 +109,10 @@ int main(int argc, char *argv[])
program_name = "iptables-restore";
program_version = NETFILTER_VERSION;
+#ifdef NO_SHARED_LIBS
+ init_extensions();
+#endif
+
while ((c = getopt_long(argc, argv, "bcvhnM:", options, NULL)) != -1) {
switch (c) {
case 'b':