From: Garrett Wollman Date: Mon, 16 Jul 2012 01:35:21 +0000 (-0400) Subject: afs_server: spell IFF_POINTOPOINT consistently X-Git-Tag: upstream/1.8.0_pre1^2~2228 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c29c302347ba93bd3dc5f88f9c235cb89a0413b8;p=packages%2Fo%2Fopenafs.git afs_server: spell IFF_POINTOPOINT consistently The interface flag has one fewer T than normal English usage would suggest, so this code was never compiled on systems that don't have the normally-spelled version as an alias. Change-Id: I7ae4ab45eda937d122894828ec8fdc104f43392f Reviewed-on: http://gerrit.openafs.org/7772 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/afs/afs_server.c b/src/afs/afs_server.c index f774ae274..98f84010a 100644 --- a/src/afs/afs_server.c +++ b/src/afs/afs_server.c @@ -1052,7 +1052,7 @@ afsi_SetServerIPRank(struct srvAddr *sa, struct in_ifaddr *ifa) sa->sa_iprank = t; } } -#ifdef IFF_POINTTOPOINT +#ifdef IFF_POINTOPOINT /* check for case #4 -- point-to-point link */ if ((ifa->ia_ifp->if_flags & IFF_POINTOPOINT) && (SA2ULONG(IA_DST(ifa)) == ntohl(sa->sa_ip))) { @@ -1063,7 +1063,7 @@ afsi_SetServerIPRank(struct srvAddr *sa, struct in_ifaddr *ifa) if (sa->sa_iprank > t) sa->sa_iprank = t; } -#endif /* IFF_POINTTOPOINT */ +#endif /* IFF_POINTOPOINT */ } #endif /*(!defined(AFS_SUN5_ENV)) && defined(USEIFADDR) */ #if (defined(AFS_DARWIN_ENV) || defined(AFS_OBSD47_ENV) || defined(AFS_FBSD_ENV)) && defined(USEIFADDR)