Commit f895383d authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Restore shm_reclen as an alias for vsl_reclen

Fixes #2307
parent ce9ebf12
......@@ -144,6 +144,12 @@ struct parspec mgt_parspec[] = {
MEMPOOL_TEXT,
0,
"10,100,10", ""},
{ "shm_reclen", tweak_vsl_reclen, &mgt_param.vsl_reclen,
"16b", NULL,
"Old name for vsl_reclen, use that instead.",
0,
"255b",
"bytes" },
{ NULL, NULL, NULL }
};
varnishtest "shm_reclen alias for vsl_reclen"
varnish v1 -cli "param.set shm_reclen 42"
varnish v1 -cliexpect 42b "param.show vsl_reclen"
......@@ -969,6 +969,8 @@ PARAM(
/* func */ NULL
)
#if 0
/* actual location mgt_param_tbl.c */
PARAM(
/* name */ shm_reclen,
/* typ */ vsl_reclen,
......@@ -982,6 +984,7 @@ PARAM(
/* l-text */ "",
/* func */ NULL
)
#endif
PARAM(
/* name */ shortlived,
......
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