Module Name: src
Committed By: thorpej
Date: Wed Jan 29 04:38:06 UTC 2020
Modified Files:
src/sys/netinet6: in6_l2tp.c
Log Message:
Adopt <net/if_stats.h>.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/netinet6/in6_l2tp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netinet6/in6_l2tp.c
diff -u src/sys/netinet6/in6_l2tp.c:1.18 src/sys/netinet6/in6_l2tp.c:1.19
--- src/sys/netinet6/in6_l2tp.c:1.18 Thu Sep 19 06:07:25 2019
+++ src/sys/netinet6/in6_l2tp.c Wed Jan 29 04:38:06 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: in6_l2tp.c,v 1.18 2019/09/19 06:07:25 knakahara Exp $ */
+/* $NetBSD: in6_l2tp.c,v 1.19 2020/01/29 04:38:06 thorpej Exp $ */
/*
* Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6_l2tp.c,v 1.18 2019/09/19 06:07:25 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6_l2tp.c,v 1.19 2020/01/29 04:38:06 thorpej Exp $");
#ifdef _KERNEL_OPT
#include "opt_l2tp.h"
@@ -231,7 +231,7 @@ in6_l2tp_output(struct l2tp_variant *var
looped:
if (error)
- ifp->if_oerrors++;
+ if_statinc(ifp, if_oerrors);
return error;
}