Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Fix downmatch increment
details: https://anonhg.NetBSD.org/src/rev/1a2254d8af09
branches: trunk
changeset: 346667:1a2254d8af09
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue Jul 26 08:34:55 2016 +0000
description:
Fix downmatch increment
diffstat:
sys/netinet/ip_input.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0d923a297bd8 -r 1a2254d8af09 sys/netinet/ip_input.c
--- a/sys/netinet/ip_input.c Tue Jul 26 08:13:57 2016 +0000
+++ b/sys/netinet/ip_input.c Tue Jul 26 08:34:55 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_input.c,v 1.337 2016/07/08 06:15:33 ozaki-r Exp $ */
+/* $NetBSD: ip_input.c,v 1.338 2016/07/26 08:34:55 ozaki-r Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.337 2016/07/08 06:15:33 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.338 2016/07/26 08:34:55 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -381,7 +381,7 @@
if ((ia->ia_ifp->if_flags & IFF_UP) != 0)
break;
else
- downmatch++;
+ (*downmatch)++;
}
}
Home |
Main Index |
Thread Index |
Old Index