diff options
author | Phil Sutter <phil@nwl.cc> | 2018-05-11 12:33:46 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-05-11 13:21:28 +0200 |
commit | ac79bea034766adc19067c3307f2ad6bdae4c36f (patch) | |
tree | f47c877823b29c22436d24e9cdb201d7f0fd2586 /include/rbtree.h | |
parent | d196dccf1853039656f15c8da94ad349a3b7d07c (diff) |
evaluate: Return ENOENT if rule index is too large
Since EINVAL usually indicates errors from kernel, avoid using it here
too. Instead return ENOENT to indicate there's no entry to append or
prepend the rule to.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/rbtree.h')
0 files changed, 0 insertions, 0 deletions