summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2019-10-22 21:58:54 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-10-23 22:32:48 +0200
commitcb320f8c2f5266d8b9d4c6b97d4c480081caa135 (patch)
tree31f8483c20731a50abbca2cd03b24288dd6592ea
parent6b024554a154609f278f5ae36e4107467d15e28b (diff)
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 <jeremy@azazel.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 952d5432..6035bcd8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -117,6 +117,10 @@ static const struct option options[] = {
.val = OPT_NUMERIC_PRIO,
},
{
+ .name = "numeric-protocol",
+ .val = OPT_NUMERIC_PROTO,
+ },
+ {
.name = "numeric-time",
.val = OPT_NUMERIC_TIME,
},