Fix DIOCADDSTATE operation.
This commit is contained in:
parent
b69d74e834
commit
048c95417d
@ -1691,7 +1691,7 @@ pfioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags, struct thread *td
|
||||
PF_RULES_RLOCK();
|
||||
error = pfsync_state_import_ptr(sp, PFSYNC_SI_IOCTL);
|
||||
PF_RULES_RUNLOCK();
|
||||
}
|
||||
} else
|
||||
error = EOPNOTSUPP;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user