diff options
author | Phil Sutter <phil@nwl.cc> | 2019-10-25 17:21:13 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-10-30 10:01:09 +0100 |
commit | d960a991350ca429e029a76fbccfff8f9ac37be3 (patch) | |
tree | 960493f5a24488afbeb1344c4486a7bd394e0144 /libipq/ipq_get_msgerr.3 | |
parent | 56fe510492bc2b95d84f7ab81a994b459076b7d1 (diff) |
xtables-arp: Integrate OPT_* defines into xshared.h
These defines are internal use only, so their actual value doesn't
matter as long as they're unique and inverse_for_options array items
match:
When negating a given option, the corresponding OPT_* value's bit is
used as an index into inverse_for_options to retrieve the corresponding
invflag. If zero, either negating or the option itself is not supported.
(In practice, a lookup for unsupported option won't happen as those are
caught by getopt_long()).
Since xtables-arp's OPT_* values change, adjust the local
inverse_for_options array accordingly.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'libipq/ipq_get_msgerr.3')
0 files changed, 0 insertions, 0 deletions