diff options
author | 2005-03-25 03:23:51 +0000 | |
---|---|---|
committer | 2005-03-25 03:23:51 +0000 | |
commit | 21e37f559da3e528db4e8ee169b0e70f997940cc (patch) | |
tree | da1a87eee77aebfcd34f028dadf8e6d360328af8 | |
parent | - sort options (diff) | |
download | wireguard-openbsd-21e37f559da3e528db4e8ee169b0e70f997940cc.tar.xz wireguard-openbsd-21e37f559da3e528db4e8ee169b0e70f997940cc.zip |
increment the right counter on error.
-rw-r--r-- | sys/net/if_vlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index 38f9ddb85fc..c0ba967e844 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vlan.c,v 1.47 2004/10/09 19:55:29 brad Exp $ */ +/* $OpenBSD: if_vlan.c,v 1.48 2005/03/25 03:23:51 brad Exp $ */ /* * Copyright 1998 Massachusetts Institute of Technology * @@ -227,7 +227,7 @@ vlan_start(struct ifnet *ifp) m0 = m_prepend(m, sizeof(struct ether_vlan_header), M_DONTWAIT); if (m0 == NULL) { - ifp->if_ierrors++; + ifp->if_oerrors++; continue; } |