Back out r364791 to unbreak jails. Lesson learned: "compile and test" means

running the test on the same executable that you just compiled.

PR:		248444
Pointy hat to:	jamie
This commit is contained in:
Jamie Gritton 2020-08-26 18:35:32 +00:00
parent 0fec8f03cf
commit 48c376a6f1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364828

View File

@ -393,8 +393,7 @@ add_param(struct cfjail *j, const struct cfparam *p, enum intparam ipnum,
else
for (ipnum = IP__NULL + 1; ipnum < IP_NPARAM; ipnum++)
if (!(intparams[ipnum].flags & PF_CONV) &&
equalopts(name, intparams[ipnum].name) &&
!(p->flags & PF_VAR)) {
equalopts(name, intparams[ipnum].name)) {
j->intparams[ipnum] = np;
np->flags |= intparams[ipnum].flags;
break;