/*--------------------------------------------------------------------*/
static void
-parse_remove(struct tokenlist *tl)
+parse_unset(struct tokenlist *tl)
{
struct var *vp;
ERRCHK(tl);
assert(vp != NULL);
if (vp->fmt != STRING || vp->hdr == NULL) {
- vsb_printf(tl->sb, "Only http header lines can be removed.\n");
+ vsb_printf(tl->sb, "Only http header lines can be unset.\n");
vcc_ErrWhere(tl, tl->t);
return;
}
#undef VCL_RET_MAC_E
{ "call", parse_call },
{ "set", parse_set },
- { "remove", parse_remove },
+ { "unset", parse_unset },
+ { "remove", parse_unset }, /* backward compatibility */
{ "purge_url", parse_purge_url },
{ "purge_hash", parse_purge_hash },
{ "esi", parse_esi },