summaryrefslogtreecommitdiffstats
path: root/ip6tables-restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'ip6tables-restore.c')
-rw-r--r--ip6tables-restore.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ip6tables-restore.c b/ip6tables-restore.c
index f7a94f2..40804ee 100644
--- a/ip6tables-restore.c
+++ b/ip6tables-restore.c
@@ -93,6 +93,10 @@ int main(int argc, char *argv[])
program_name = "ip6tables-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':