Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net80211 Fix incrementing wrong counter
details: https://anonhg.NetBSD.org/src/rev/f782b19f528e
branches: trunk
changeset: 351926:f782b19f528e
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Mon Mar 06 08:36:20 2017 +0000
description:
Fix incrementing wrong counter
diffstat:
sys/net80211/ieee80211_input.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 71298ca079d0 -r f782b19f528e sys/net80211/ieee80211_input.c
--- a/sys/net80211/ieee80211_input.c Mon Mar 06 07:33:27 2017 +0000
+++ b/sys/net80211/ieee80211_input.c Mon Mar 06 08:36:20 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieee80211_input.c,v 1.87 2017/02/02 10:05:35 nonaka Exp $ */
+/* $NetBSD: ieee80211_input.c,v 1.88 2017/03/06 08:36:20 ozaki-r Exp $ */
/*-
* Copyright (c) 2001 Atsushi Onoe
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -36,7 +36,7 @@
__FBSDID("$FreeBSD: src/sys/net80211/ieee80211_input.c,v 1.81 2005/08/10 16:22:29 sam Exp $");
#endif
#ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_input.c,v 1.87 2017/02/02 10:05:35 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_input.c,v 1.88 2017/03/06 08:36:20 ozaki-r Exp $");
#endif
#ifdef _KERNEL_OPT
@@ -780,7 +780,7 @@
len = m1->m_pkthdr.len;
IFQ_ENQUEUE(&ifp->if_snd, m1, error);
if (error) {
- ifp->if_omcasts++;
+ ifp->if_oerrors++;
m = NULL;
}
ifp->if_obytes += len;
Home |
Main Index |
Thread Index |
Old Index