Bugfix to not hide jailparam flags, which for example changes the output

"vnet=2" to the less opaque "vnet=inherit"

Reported by:	kevans
MFC after:	5 days
This commit is contained in:
Jamie Gritton 2020-12-15 20:56:35 +00:00
parent 5fee468e83
commit 3050aced42

View File

@ -323,7 +323,7 @@ add_param(const char *name, void *value, size_t valuelen,
}
xo_errx(1, "%s", jail_errmsg);
}
param->jp_flags = flags;
param->jp_flags |= flags;
return param - params;
}