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 --- include/iptables.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/iptables.h') diff --git a/include/iptables.h b/include/iptables.h index 719db544..ac2a6b3b 100644 --- a/include/iptables.h +++ b/include/iptables.h @@ -51,6 +51,9 @@ struct iptables_match struct ipt_entry_match *m; unsigned int mflags; unsigned int used; +#ifdef NO_SHARED_LIBS + unsigned int loaded; /* simulate loading so options are merged properly */ +#endif }; struct iptables_target @@ -98,6 +101,9 @@ struct iptables_target struct ipt_entry_target *t; unsigned int tflags; unsigned int used; +#ifdef NO_SHARED_LIBS + unsigned int loaded; /* simulate loading so options are merged properly */ +#endif }; /* Your shared library should call one of these. */ -- cgit v1.2.3