On 08/23/2016 08:10 AM, Pablo Neira Ayuso wrote:
On Mon, Aug 22, 2016 at 02:47:15PM -0400, Brian Haley wrote:
iptables-restore was missing -n, -T and -M from the
usage message, added them to match the man page.
Signed-off-by: Brian Haley <brian.haley@xxxxxxx>
diff --git a/iptables/ip6tables-restore.c b/iptables/ip6tables-restore.c
index 9393924..dc0acb0 100644
--- a/iptables/ip6tables-restore.c
+++ b/iptables/ip6tables-restore.c
@@ -43,13 +43,14 @@ static void print_usage(const char *name, const char *version) __attribute__((no
static void print_usage(const char *name, const char *version)
{
- fprintf(stderr, "Usage: %s [-c] [-v] [-t] [-h]\n"
+ fprintf(stderr, "Usage: %s [-c] [-v] [-t] [-h] [-n] [-T table] [-M command]\n"
Could you also propagate these changes to iptables/xtables-restore.c?
Sure, I'll send a v2.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html