Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Increase interface output counter for every encapsul...
details: https://anonhg.NetBSD.org/src/rev/0c59c1b46481
branches: trunk
changeset: 534362:0c59c1b46481
user: tron <tron%NetBSD.org@localhost>
date: Tue Jul 23 06:44:53 2002 +0000
description:
Increase interface output counter for every encapsulated packet sent to IP.
diffstat:
sys/net/if_stf.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 8d2e597fda8a -r 0c59c1b46481 sys/net/if_stf.c
--- a/sys/net/if_stf.c Tue Jul 23 03:52:02 2002 +0000
+++ b/sys/net/if_stf.c Tue Jul 23 06:44:53 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_stf.c,v 1.24 2002/06/20 07:43:39 itojun Exp $ */
+/* $NetBSD: if_stf.c,v 1.25 2002/07/23 06:44:53 tron Exp $ */
/* $KAME: if_stf.c,v 1.62 2001/06/07 22:32:16 itojun Exp $ */
/*
@@ -75,7 +75,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_stf.c,v 1.24 2002/06/20 07:43:39 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_stf.c,v 1.25 2002/07/23 06:44:53 tron Exp $");
#include "opt_inet.h"
@@ -455,6 +455,7 @@
}
}
+ ifp->if_opackets++;
return ip_output(m, NULL, &sc->sc_ro, 0, NULL);
}
Home |
Main Index |
Thread Index |
Old Index