mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
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 <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
ce1917c801
commit
c29c302347
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user