mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Move PF_LOCK_ASSERT() under __FreeBSD__.
This commit is contained in:
parent
3488c2786e
commit
0744a28a79
1 changed files with 1 additions and 1 deletions
|
|
@ -681,9 +681,9 @@ pfsync_state_import(struct pfsync_state *sp, u_int8_t flags)
|
|||
int pool_flags;
|
||||
int error;
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
PF_LOCK_ASSERT();
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
if (sp->creatorid == 0 && V_pf_status.debug >= PF_DEBUG_MISC) {
|
||||
#else
|
||||
if (sp->creatorid == 0 && pf_status.debug >= PF_DEBUG_MISC) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue