]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Darwin: Assign correct value to myDstaddr in afsi_SetServerIPRank()
authorAntoine Verheijen <antoine@ualberta.ca>
Wed, 1 Dec 2010 18:54:23 +0000 (11:54 -0700)
committerDerrick Brashear <shadow@dementia.org>
Mon, 6 Dec 2010 20:46:10 +0000 (12:46 -0800)
commit8a534a9a8e0d0f3547130ffb4c9bc74f71839869
treed120b492c9cc8bdae401fe09d095a7f73d8b4012
parent62988aa3762ba28ba875100673a2e0f64d8611fa
Darwin: Assign correct value to myDstaddr in afsi_SetServerIPRank()

The value in sin->sin_addr.s_addr that's assigned to myDstaddr in the
Darwin version of afsi_SetServerIPRank() is in network byte order but
really needs to be in host byte order.

Note: This patch assumes that change I66f5c790d8c55b359e3550b6d71f3abe040a2820
      has been previously installed. The patch fails otherwise.
Reviewed-on: http://gerrit.openafs.org/3402
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 2822416059fe192dc7e3c261b1e93510f2f10f3e)
Change-Id: I6fba524733ecf35e60419d449838e93a7a5255a6
Reviewed-on: http://gerrit.openafs.org/3452
src/afs/afs_server.c