diff options
author | Phil Sutter <phil@nwl.cc> | 2023-12-02 11:10:34 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-12-03 12:26:48 +0100 |
commit | c9c2f54c6fb8f9303372202eab5b3e00088c7577 (patch) | |
tree | d699755cacf46bb73bc725bc0d74f89ef6d47d6f /tests/shell/testcases/bogons/nft-f/mapping_With_invalid_datatype_crash | |
parent | bda378c2d9d561bdda9ce33aedc91bc11b402ac7 (diff) |
main: Refer to nft_options in nft_options_check()
Consult the array when determining whether a given option is followed by
an argument or not instead of hard-coding those that do. The array holds
both short and long option name, so one extra pitfall removed.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/bogons/nft-f/mapping_With_invalid_datatype_crash')
0 files changed, 0 insertions, 0 deletions