summaryrefslogtreecommitdiffstats
path: root/include/ip6tables.h
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 /include/ip6tables.h
parent2acb25b8d54cb7430f0751dd36861499e1cd28bd (diff)
- added patch to support statically linking of iptables
- iptables-save/-restore is no longer experimental
Diffstat (limited to 'include/ip6tables.h')
-rw-r--r--include/ip6tables.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ip6tables.h b/include/ip6tables.h
index 9ac3835c..ca388f7c 100644
--- a/include/ip6tables.h
+++ b/include/ip6tables.h
@@ -51,6 +51,9 @@ struct ip6tables_match
struct ip6t_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 ip6tables_target
@@ -98,6 +101,9 @@ struct ip6tables_target
struct ip6t_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. */