]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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>
Tue, 7 Dec 2010 02:23:26 +0000 (18:23 -0800)
commit3141167ad1d360e2da4c26225f86e3ad0789bd85
treeb8d374f4637e9f618711de728fec5f29471c5b32
parent8a534a9a8e0d0f3547130ffb4c9bc74f71839869
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.

Reviewed-on: http://gerrit.openafs.org/3405
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 2d2ac3ca5fbd221d297861c0b5c409e9e004545c)
Change-Id: I60c8aeb69484c87b10cdda8a317702d2f80ee849
Reviewed-on: http://gerrit.openafs.org/3453
src/afs/afs_server.c