From: Derrick Brashear Date: Mon, 16 Jul 2012 19:55:54 +0000 (-0400) Subject: libafs: pointopoint not supported in ukernel X-Git-Tag: upstream/1.8.0_pre1^2~2208 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e359aa5c617e668535bc28eb88a139f1ae85851f;p=packages%2Fo%2Fopenafs.git libafs: pointopoint not supported in ukernel afs_server.c:1054: error: 'struct usr_in_ifaddr' has no member named 'ia_dstaddr' well, for now, bye bye! Change-Id: I3246a52e0bbdcfb92045de7e21febe0e65255db2 Reviewed-on: http://gerrit.openafs.org/7783 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/afs/afs_server.c b/src/afs/afs_server.c index 92d772a21..9a34a14f3 100644 --- a/src/afs/afs_server.c +++ b/src/afs/afs_server.c @@ -1048,7 +1048,7 @@ afsi_SetServerIPRank(struct srvAddr *sa, struct in_ifaddr *ifa) sa->sa_iprank = t; } } -#ifdef IFF_POINTOPOINT +#if defined(IFF_POINTOPOINT) && !defined(UKERNEL) /* check for case #4 -- point-to-point link */ if ((ifa->ia_ifp->if_flags & IFF_POINTOPOINT) && (SA2ULONG(IA_DST(ifa)) == ntohl(sa->sa_ip))) {