From 3efb6ead2e51fe1eca55bcb2b06afb4dc4b8cb7c Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 6 Aug 2001 18:50:21 +0000 Subject: - added patch to support statically linking of iptables - iptables-save/-restore is no longer experimental --- iptables-restore.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'iptables-restore.c') 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 @@ -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': -- cgit v1.2.3