summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_mh.t
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2017-03-16 16:55:01 +0900
committerPablo Neira Ayuso <pablo@netfilter.org>2017-03-17 14:20:46 +0100
commit6e2e169eb66b63d2991e1c7ada931e3cdb0ced32 (patch)
tree2d30c42e08c94f7681a88d316fdbba9a1ed24dbc /extensions/libip6t_mh.t
parent836846f0d747e1be8e37d2d43b215a68b30ea1a9 (diff)
iptables: remove duplicated argument parsing code
1. Factor out repeated code to a new xs_has_arg function. 2. Add a new parse_wait_time option to parse the value of -w. 3. Make parse_wait_interval take argc and argv so its callers can be simpler. Signed-off-by: Lorenzo Colitti <lorenzo@google.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libip6t_mh.t')
0 files changed, 0 insertions, 0 deletions