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>
Wed, 1 Dec 2010 20:43:28 +0000 (12:43 -0800)
commit2822416059fe192dc7e3c261b1e93510f2f10f3e
treececabad48d38bac59847af4845263a80efe70ad6
parent8fa01c4d602fac6d5d81b119d0593f02087e4302
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.
Change-Id: I3078da1efb94f87f84dbe357f3272d908818256b
Reviewed-on: http://gerrit.openafs.org/3402
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_server.c