diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2019-10-22 21:58:54 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-10-23 22:32:48 +0200 |
commit | cb320f8c2f5266d8b9d4c6b97d4c480081caa135 (patch) | |
tree | 31f8483c20731a50abbca2cd03b24288dd6592ea /src | |
parent | 6b024554a154609f278f5ae36e4107467d15e28b (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>
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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, }, |