summaryrefslogtreecommitdiffstats
path: root/iptables-standalone.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-standalone.c
parent2acb25b8d54cb7430f0751dd36861499e1cd28bd (diff)
- added patch to support statically linking of iptables
- iptables-save/-restore is no longer experimental
Diffstat (limited to 'iptables-standalone.c')
-rw-r--r--iptables-standalone.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/iptables-standalone.c b/iptables-standalone.c
index b891e974..791f9505 100644
--- a/iptables-standalone.c
+++ b/iptables-standalone.c
@@ -40,6 +40,10 @@ main(int argc, char *argv[])
program_name = "iptables";
program_version = NETFILTER_VERSION;
+#ifdef NO_SHARED_LIBS
+ init_extensions();
+#endif
+
ret = do_command(argc, argv, &table, &handle);
if (ret)
ret = iptc_commit(&handle);