[Bug 1708] iptables-restore -h doesn't show -w and -W options
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Tue Sep 26 14:42:18 CEST 2023
https://bugzilla.netfilter.org/show_bug.cgi?id=1708
Phil Sutter <phil at nwl.cc> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |phil at nwl.cc
--- Comment #1 from Phil Sutter <phil at nwl.cc> ---
(In reply to Fabio from comment #0)
> The options are supported, however they are missing from the help:
>
> $ iptables-restore -h
> Usage: iptables-restore [-c] [-v] [-V] [-t] [-h] [-n] [-T table] [-M
> command] [-4] [-6] [file]
> [ --counters ]
> [ --verbose ]
> [ --version]
> [ --test ]
> [ --help ]
> [ --noflush ]
> [ --table=<TABLE> ]
> [ --modprobe=<command> ]
> [ --ipv4 ]
> [ --ipv6 ]
> $
You are using iptables-nft-restore which neither needs nor uses --wait. The
option is still accepted for compatibility (to not break existing scripts
passing the argument). Note that --wait-interval is gone since v1.8.8 in both
legacy and nft variants, see commit 07e2107ef0cbc ("xshared: Implement xtables
lock timeout using signals"). for details.
> Also, the output could be improved:
> - group together the short and long options
> - use the same sorting as in the man page
Feel free to send a patch, or suggest an improved output in a comment here.
Thanks, Phil
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20230926/db672944/attachment.html>
More information about the netfilter-buglog
mailing list