Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netipsec Restore const qualifier dropped due to switchin...



details:   https://anonhg.NetBSD.org/src/rev/1a3498c842e5
branches:  trunk
changeset: 346324:1a3498c842e5
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Thu Jul 07 06:59:30 2016 +0000

description:
Restore const qualifier dropped due to switching to IN_ADDRLIST_READER_FOREACH

IN_ADDRLIST_READER_FOREACH (pslist(9)) now allows const variables.

diffstat:

 sys/netipsec/key.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 78e963d41913 -r 1a3498c842e5 sys/netipsec/key.c
--- a/sys/netipsec/key.c        Thu Jul 07 06:56:24 2016 +0000
+++ b/sys/netipsec/key.c        Thu Jul 07 06:59:30 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: key.c,v 1.99 2016/07/06 08:42:34 ozaki-r Exp $ */
+/*     $NetBSD: key.c,v 1.100 2016/07/07 06:59:30 ozaki-r Exp $        */
 /*     $FreeBSD: src/sys/netipsec/key.c,v 1.3.2.3 2004/02/14 22:23:23 bms Exp $        */
 /*     $KAME: key.c,v 1.191 2001/06/27 10:46:49 sakane Exp $   */
 
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.99 2016/07/06 08:42:34 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.100 2016/07/07 06:59:30 ozaki-r Exp $");
 
 /*
  * This code is referd to RFC 2367
@@ -4116,7 +4116,7 @@
 {
 #ifdef INET
        const struct sockaddr_in *sin;
-       struct in_ifaddr *ia;
+       const struct in_ifaddr *ia;
 #endif
 
        /* sanity check */



Home | Main Index | Thread Index | Old Index