aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/jail/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/jail/config.c')
-rw-r--r--usr.sbin/jail/config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/jail/config.c b/usr.sbin/jail/config.c
index 3d9fc92c99bb..234c4e257976 100644
--- a/usr.sbin/jail/config.c
+++ b/usr.sbin/jail/config.c
@@ -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;