From: dlg Date: Tue, 23 Feb 2021 07:29:07 +0000 (+0000) Subject: use link0 to allow vlans to cross the bridge. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fec9ff1f626da3153a93891b4f1e102fca5ad513;p=openbsd use link0 to allow vlans to cross the bridge. --- 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;