Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Make this compile again
details: https://anonhg.NetBSD.org/src/rev/b1a1e815f19d
branches: trunk
changeset: 340636:b1a1e815f19d
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Sep 21 13:32:26 2015 +0000
description:
Make this compile again
diffstat:
sys/netinet/in_selsrc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1a4658208d72 -r b1a1e815f19d sys/netinet/in_selsrc.c
--- a/sys/netinet/in_selsrc.c Mon Sep 21 13:31:30 2015 +0000
+++ b/sys/netinet/in_selsrc.c Mon Sep 21 13:32:26 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in_selsrc.c,v 1.15 2015/08/31 08:02:44 ozaki-r Exp $ */
+/* $NetBSD: in_selsrc.c,v 1.16 2015/09/21 13:32:26 skrll Exp $ */
/*-
* Copyright (c) 2005 David Young. All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in_selsrc.c,v 1.15 2015/08/31 08:02:44 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_selsrc.c,v 1.16 2015/09/21 13:32:26 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -312,7 +312,7 @@
ifp = ifa->ifa_ifp;
KASSERT(ifp->if_afdata[AF_INET] != NULL);
- isc = ifp->if_afdata[AF_INET]->ii_selsrc;
+ isc = ((struct in_ifinfo *)(ifp)->if_afdata[AF_INET])->ii_selsrc;
if (isc != NULL && isc->isc_selsrc != NULL &&
isc->isc_selsrc->iss_score_src[0] != NULL)
iss = isc->isc_selsrc;
Home |
Main Index |
Thread Index |
Old Index