diff options
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_vlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index 9623e4b..b7f1197 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -1042,7 +1042,7 @@ vlan_transmit(struct ifnet *ifp, struct mbuf *m) if (!UP_AND_RUNNING(p)) { m_freem(m); ifp->if_oerrors++; - return (0); + return (ENETDOWN); } /* |