OpenBSD: Use Darwin version of afsi_SetServerIPRank() for OpenBSD 4.7 and above.
authorAntoine Verheijen <antoine@ualberta.ca>
Wed, 1 Dec 2010 20:22:45 +0000 (13:22 -0700)
committerDerrick Brashear <shadow@dementia.org>
Wed, 1 Dec 2010 20:46:13 +0000 (12:46 -0800)
commit2d2ac3ca5fbd221d297861c0b5c409e9e004545c
tree6869f3001371993fd82b0ad8787a5c8955e3f438
parent2822416059fe192dc7e3c261b1e93510f2f10f3e
OpenBSD: Use Darwin version of afsi_SetServerIPRank() for OpenBSD 4.7 and above.

With OpenBSD 4.7, the ia_subnet and ia_subnetmask fields have been removed
from the in_ifaddr structure as part of a cleanup that considers them
unnecessary. Thus, the version of afsi_SetServerIPRank() that OpenBSD was
using no longer compiles. On the other hand, the Darwin version of this
routine seems suited to OpenBSD's needs since it doesn't use those fields
so we'll use that version for OpenBSD 4.7 and above instead.

Change-Id: I27333056378a023e175bddeb637288fc6d1b6e88
Reviewed-on: http://gerrit.openafs.org/3405
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_server.c