summaryrefslogtreecommitdiffstats
path: root/iptables/xshared.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-12-24 14:17:50 +0100
committerPhil Sutter <phil@nwl.cc>2022-01-12 14:08:54 +0100
commitded7b57977f3fa619975f752a342046225b56935 (patch)
tree023f151a125ec8309bbb77d5887f23032abbda56 /iptables/xshared.h
parent62c3c93d4b0f5f6b9bb6c6829d507b57b976a644 (diff)
xshared: Store parsed wait and wait_interval in xtables_args
While nft-variants don't care, legacy ones do. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/xshared.h')
-rw-r--r--iptables/xshared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables/xshared.h b/iptables/xshared.h
index 13ea05fe..48bfe911 100644
--- a/iptables/xshared.h
+++ b/iptables/xshared.h
@@ -293,6 +293,8 @@ struct xtables_args {
const char *arp_hlen, *arp_opcode;
const char *arp_htype, *arp_ptype;
unsigned long long pcnt_cnt, bcnt_cnt;
+ int wait;
+ struct timeval wait_interval;
};
struct xt_cmd_parse_ops {