summaryrefslogtreecommitdiffstats
path: root/src/expr/immediate.c
diff options
context:
space:
mode:
authorAlvaro Neira <alvaroneay@gmail.com>2015-03-16 16:06:09 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-03-17 11:47:44 +0100
commit8b2d59dadb920ed45dd347e2962ef4cf216d0c57 (patch)
tree487a2483cff5917ca892ae963690c1f11faadfca /src/expr/immediate.c
parentd27456460a2867d69a6bbed8aa0019f65ab42eac (diff)
parser: Add operation not supported error message
If we try to import a ruleset in json or xml and the library was not compile with support for those, this shows a misleading error. To resolve this problem, this patch sets up EOPNOTSUPP by default when we create the nft_parse_err structure. Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/expr/immediate.c')
0 files changed, 0 insertions, 0 deletions