mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Return value should be conditional on return value of pfsync_defer_ptr()
PR: kern/162947 Submitted by: Matthieu Kraus <matthieu.kraus s2008.tu-chemnitz.de>
This commit is contained in:
parent
df62aec1a0
commit
c53680a8ec
1 changed files with 2 additions and 2 deletions
|
|
@ -3770,8 +3770,8 @@ pf_test_rule(struct pf_rule **rm, struct pf_state **sm, int direction,
|
|||
* replies through it.
|
||||
*/
|
||||
#ifdef __FreeBSD__
|
||||
if (pfsync_defer_ptr != NULL)
|
||||
pfsync_defer_ptr(*sm, m);
|
||||
if (pfsync_defer_ptr != NULL &&
|
||||
pfsync_defer_ptr(*sm, m))
|
||||
#else
|
||||
if (pfsync_defer(*sm, m))
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue