From fec9ff1f626da3153a93891b4f1e102fca5ad513 Mon Sep 17 00:00:00 2001 From: dlg Date: Tue, 23 Feb 2021 07:29:07 +0000 Subject: [PATCH] use link0 to allow vlans to cross the bridge. --- sys/net/if_veb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/if_veb.c b/sys/net/if_veb.c index 5e2d522656a..7214df9d16e 100644 --- a/sys/net/if_veb.c +++ b/sys/net/if_veb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_veb.c,v 1.4 2021/02/23 05:23:02 dlg Exp $ */ +/* $OpenBSD: if_veb.c,v 1.5 2021/02/23 07:29:07 dlg Exp $ */ /* * Copyright (c) 2021 David Gwynne @@ -704,7 +704,7 @@ veb_port_input(struct ifnet *ifp0, struct mbuf *m, void *brport) veb_ip_filter(m)) goto drop; - if (!ISSET(ifp->if_flags, IFF_LINK2) && + if (!ISSET(ifp->if_flags, IFF_LINK0) && veb_vlan_filter(m)) goto drop; -- 2.20.1