diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-03-25 03:23:52 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-03-25 03:23:52 +0000 |
commit | 77686e09b6def5486d0f62877459c9643686a200 (patch) | |
tree | fe4589482af24e07b53ff4376e1cd1aa4ababbdc /sys | |
parent | 14fe0a4fea0fad55085839e575370bbf9c427da6 (diff) |
increment the right counter on error.
Diffstat (limited to 'sys')
-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; } |