diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2015-07-04 10:12:53 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2015-07-04 10:12:53 +0000 |
commit | 485b4985ade8c2de8c0a474d11791b1a4c50570c (patch) | |
tree | f4890af7567cb3c9bdf828da7f96c452093372fd /sys/arch/vax | |
parent | 99bcb556c00ff63921f0a6027973a41f1559981d (diff) |
count outgoing packets like every other driver.
ok miod@
Diffstat (limited to 'sys/arch/vax')
-rw-r--r-- | sys/arch/vax/if/if_qe.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/vax/if/if_qe.c b/sys/arch/vax/if/if_qe.c index 1a0efc4b915..374909f42cd 100644 --- a/sys/arch/vax/if/if_qe.c +++ b/sys/arch/vax/if/if_qe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_qe.c,v 1.34 2015/06/27 15:40:53 miod Exp $ */ +/* $OpenBSD: if_qe.c,v 1.35 2015/07/04 10:12:52 dlg Exp $ */ /* $NetBSD: if_qe.c,v 1.51 2002/06/08 12:28:37 ragge Exp $ */ /* * Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved. @@ -468,6 +468,8 @@ qestart(struct ifnet *ifp) if (ifp->if_bpf) bpf_mtap(ifp->if_bpf, m, BPF_DIRECTION_OUT); #endif + ifp->if_opackets++; + /* * m now points to a mbuf chain that can be loaded. * Loop around and set it. |