diff options
author | 2008-02-16 22:06:44 +0000 | |
---|---|---|
committer | 2008-02-16 22:06:44 +0000 | |
commit | 1e848aa8895fe2156d57e47f025f8ab12c58eb27 (patch) | |
tree | 42a52642c20069060d7aa5ca63de007a847ff0e9 | |
parent | sort flags in both synopsis and usage (diff) | |
download | wireguard-openbsd-1e848aa8895fe2156d57e47f025f8ab12c58eb27.tar.xz wireguard-openbsd-1e848aa8895fe2156d57e47f025f8ab12c58eb27.zip |
Count output packets.
-rw-r--r-- | sys/dev/ic/bwi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/bwi.c b/sys/dev/ic/bwi.c index 19c380acc3a..77737311e16 100644 --- a/sys/dev/ic/bwi.c +++ b/sys/dev/ic/bwi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bwi.c,v 1.70 2008/02/16 20:09:05 mglocker Exp $ */ +/* $OpenBSD: bwi.c,v 1.71 2008/02/16 22:06:44 mglocker Exp $ */ /* * Copyright (c) 2007 The DragonFly Project. All rights reserved. @@ -8980,6 +8980,8 @@ bwi_txeof(struct bwi_softc *sc) continue; _bwi_txeof(sc, letoh16(tx_id)); + + ifp->if_opackets++; } if ((ifp->if_flags & IFF_OACTIVE) == 0) |