summaryrefslogtreecommitdiffstats
path: root/iptables-save.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-save.c
parent2acb25b8d54cb7430f0751dd36861499e1cd28bd (diff)
- added patch to support statically linking of iptables
- iptables-save/-restore is no longer experimental
Diffstat (limited to 'iptables-save.c')
-rw-r--r--iptables-save.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/iptables-save.c b/iptables-save.c
index 60397146..aa3b69af 100644
--- a/iptables-save.c
+++ b/iptables-save.c
@@ -306,6 +306,10 @@ int main(int argc, char *argv[])
program_name = "iptables-save";
program_version = NETFILTER_VERSION;
+#ifdef NO_SHARED_LIBS
+ init_extensions();
+#endif
+
while ((c = getopt_long(argc, argv, "bc", options, NULL)) != -1) {
switch (c) {
case 'b':