summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_limit.c
diff options
context:
space:
mode:
authorrusty <rusty>2000-04-19 11:26:44 +0000
committerrusty <rusty>2000-04-19 11:26:44 +0000
commitfcbb2f45e58e4f2f22c2175c13fcc6025835a8f6 (patch)
tree5c6df990222b87d25481330240b940f2ab362d49 /extensions/libipt_limit.c
parent3a4a8459e9b9b95ff44727a107a900a4bf21fd87 (diff)
Changes to allow matching (for delete) on part of a rule, for rules which
change in the kernel (eg. ipt_limit).
Diffstat (limited to 'extensions/libipt_limit.c')
-rw-r--r--extensions/libipt_limit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/libipt_limit.c b/extensions/libipt_limit.c
index b6cc74f..822109b 100644
--- a/extensions/libipt_limit.c
+++ b/extensions/libipt_limit.c
@@ -181,6 +181,7 @@ struct iptables_match limit
"limit",
NETFILTER_VERSION,
sizeof(struct ipt_rateinfo),
+ offsetof(struct ipt_rateinfo, prev),
&help,
&init,
&parse,