summaryrefslogtreecommitdiff
path: root/sys/net/if_ethersubr.c
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2001-06-23 04:01:20 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2001-06-23 04:01:20 +0000
commitf9f8365cef3037d6c421f2cdf6f96640c23fda77 (patch)
tree9a4d3199b85b50acf2a076a2f6832e7f2b1b6090 /sys/net/if_ethersubr.c
parent4716e10985e6638b06ea48613528e09f59ea19f7 (diff)
Use standard defined macros to access inner ifnet data structure members.
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r--sys/net/if_ethersubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index 78ac06472e8..0d55dd4bd33 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ethersubr.c,v 1.47 2001/06/15 03:38:33 itojun Exp $ */
+/* $OpenBSD: if_ethersubr.c,v 1.48 2001/06/23 04:01:18 aaron Exp $ */
/* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */
/*
@@ -631,7 +631,7 @@ ether_input(ifp, eh, m)
#if NVLAN > 0
if (etype == ETHERTYPE_8021Q) {
if (vlan_input(eh, m) < 0)
- ifp->if_data.ifi_noproto++;
+ ifp->if_noproto++;
return;
}
#endif /* NVLAN > 0 */