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
dbe3a72999
commit
980901bba2
@ -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 New Issue
Block a user