summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJiri Popelka <jpopelka@redhat.com>2014-07-04 15:50:41 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-07-25 19:10:47 +0200
commitaaa4ace72ba1d195bbf436134a336816c33f7bd0 (patch)
tree523040baa49a3479bf7bc775bb375b0b692dd288 /tests
parent03a3f7cf1826f70dd1db070aa8ee11bd2abbccd9 (diff)
iptables: add optional [seconds] argument to -w
This patch adds an optional numeric argument to -w option (added with 93587a0) so one can specify how long to wait for an exclusive lock. If the value isn't specified it works as before, i.e. program waits indefinitely. If user specifies it, program exits after the given time interval passes. This patch also adds the -w/--wait to nftables compat code, so the parser doesn't complain. [ In the original patch, iptables-compat -w X was not working, I have fixed by adding the dummy code not to break scripts using the new optional argument --pablo ] Signed-off-by: Jiri Popelka <jpopelka@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions