diff options
author | laforge <laforge> | 2001-08-06 18:50:21 +0000 |
---|---|---|
committer | laforge <laforge> | 2001-08-06 18:50:21 +0000 |
commit | a1187fff744cf407c010fb52a482950d958dbf02 (patch) | |
tree | d7a51c0752b5a80c8408692277f2b660ce4dfc2b /include/iptables.h | |
parent | e23a23bf42e4a963e39c7a858351aacb109e0b8b (diff) |
- added patch to support statically linking of iptables
- iptables-save/-restore is no longer experimental
Diffstat (limited to 'include/iptables.h')
-rw-r--r-- | include/iptables.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/iptables.h b/include/iptables.h index 719db54..ac2a6b3 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. */ |