Commit 35aede39 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't allow "error" in vcl_init{} and vcl_fini{}, they have no

request to error.

Fixes	#996
parent af353a6b
......@@ -325,7 +325,10 @@ static struct action_table {
action_f *func;
unsigned bitmask;
} action_table[] = {
{ "error", parse_error },
{ "error", parse_error,
VCL_MET_RECV | VCL_MET_PIPE | VCL_MET_PASS | VCL_MET_HASH |
VCL_MET_MISS | VCL_MET_HIT | VCL_MET_FETCH | VCL_MET_DELIVER
},
#define VCL_RET_MAC(l, U, B) \
{ #l, parse_new_syntax },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment