From: Jeremy Sowden Date: Tue, 22 Oct 2019 20:58:54 +0000 (+0100) Subject: main: add missing `OPT_NUMERIC_PROTO` long option. X-Git-Tag: v0.9.3~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb320f8c2f5266d8b9d4c6b97d4c480081caa135;p=thirdparty%2Fnftables.git main: add missing `OPT_NUMERIC_PROTO` long option. The `options` array is missing an entry for `OPT_NUMERIC_PROTO`. Add a new option, `--numeric-protocol`, consistent with the documentation. Signed-off-by: Jeremy Sowden Signed-off-by: Pablo Neira Ayuso --- diff --git a/src/main.c b/src/main.c index 952d5432..6035bcd8 100644 --- a/src/main.c +++ b/src/main.c @@ -116,6 +116,10 @@ static const struct option options[] = { .name = "numeric-priority", .val = OPT_NUMERIC_PRIO, }, + { + .name = "numeric-protocol", + .val = OPT_NUMERIC_PROTO, + }, { .name = "numeric-time", .val = OPT_NUMERIC_TIME,