-/* $OpenBSD: if_bridge.c,v 1.370 2024/04/14 20:46:27 bluhm Exp $ */
+/* $OpenBSD: if_bridge.c,v 1.371 2024/08/05 17:47:29 bluhm Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
#if NPF > 0
#include <net/pfvar.h>
#define BRIDGE_IN PF_IN
-#define BRIDGE_OUT PF_OUT
+#define BRIDGE_OUT PF_FWD
#else
#define BRIDGE_IN 0
#define BRIDGE_OUT 1
-/* $OpenBSD: if_veb.c,v 1.35 2024/02/13 12:22:09 bluhm Exp $ */
+/* $OpenBSD: if_veb.c,v 1.36 2024/08/05 17:47:29 bluhm Exp $ */
/*
* Copyright (c) 2021 David Gwynne <dlg@openbsd.org>
* let pf look at it, but use the veb interface as a proxy.
*/
if (ISSET(ifp->if_flags, IFF_LINK1) &&
- (m0 = veb_pf(ifp, PF_OUT, m0)) == NULL)
+ (m0 = veb_pf(ifp, PF_FWD, m0)) == NULL)
return;
#endif
#if NPF > 0
if (ISSET(ifp->if_flags, IFF_LINK1) &&
- (m = veb_pf(ifp0, PF_OUT, m)) == NULL)
+ (m = veb_pf(ifp0, PF_FWD, m)) == NULL)
return (NULL);
#endif