diff options
author | Phil Sutter <phil@nwl.cc> | 2023-11-17 13:33:15 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-11-29 02:33:02 +0100 |
commit | 9c09d28102bb4bd833b1a814c0766e89250dbc1e (patch) | |
tree | 1a64b1c6e303fb612271df3991aceefe307f386e /iptables/nft-ipv6.c | |
parent | 90f84108cf61891f6bc60d2f93cb25e05a47a661 (diff) |
xshared: Simplify generic_opt_check()
The option/command matrix does not contain any '+' entries anymore, so
each option/command combination is either allowed (and optional) or not.
Reduce the matrix to an array of unsigned ints which specify the
commands a given option is allowed with.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-ipv6.c')
0 files changed, 0 insertions, 0 deletions