summaryrefslogtreecommitdiffstats
path: root/src/evaluate.c
diff options
context:
space:
mode:
authorAnders K. Pedersen <akp@cohaesio.com>2016-10-29 03:12:41 +0200
committerFlorian Westphal <fw@strlen.de>2016-10-29 03:12:41 +0200
commit6bc84e04c40a2497c4c416556df09e2782059e1c (patch)
tree459c92b5ec75e84951e9facb42d3361a38ec6784 /src/evaluate.c
parent4a75ed32132d8e2292dd276f3ea7f4edec4f3d06 (diff)
Replace tests/files/expr-rt with Python based tests, and replace ether type
with meta nfproto, which generates a bit fewer instructions. Signed-off-by: Anders K. Pedersen <akp@cohaesio.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/evaluate.c')
-rw-r--r--src/evaluate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evaluate.c b/src/evaluate.c
index a2e5dbb9..79add5ee 100644
--- a/src/evaluate.c
+++ b/src/evaluate.c
@@ -639,8 +639,8 @@ static int expr_evaluate_rt(struct eval_ctx *ctx, struct expr **expr)
err:
return expr_error(ctx->msgs, rt,
- "ether type ip or ip6 must be specified before "
- "routing expression");
+ "meta nfproto ipv4 or ipv6 must be specified "
+ "before routing expression");
}
/*