diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-05-26 20:58:00 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-05-26 20:58:00 +0000 |
commit | 1a7784a23cc3aaee2a71600e3e387e4b0eb1ed6b (patch) | |
tree | aec4efc23b612cdc0c50ee7b44c842fdac60d8e3 /sys | |
parent | 274b7d0cad2416e14fa58f1dec12f82ec4b868ea (diff) |
Count outbound packets.
ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/socppc/dev/if_tsec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/socppc/dev/if_tsec.c b/sys/arch/socppc/dev/if_tsec.c index 5003cb33c6a..5eb1455daf6 100644 --- a/sys/arch/socppc/dev/if_tsec.c +++ b/sys/arch/socppc/dev/if_tsec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tsec.c,v 1.8 2008/05/26 20:22:35 kettenis Exp $ */ +/* $OpenBSD: if_tsec.c,v 1.9 2008/05/26 20:57:59 brad Exp $ */ /* * Copyright (c) 2008 Mark Kettenis @@ -703,6 +703,7 @@ tsec_tx_proc(struct tsec_softc *sc) m_freem(txb->tb_m); txb->tb_m = NULL; + ifp->if_opacket++; } ifp->if_flags &= ~IFF_OACTIVE; |