OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-502-g8fa01c4

Gerrit Code Review gerrit@openafs.org
Wed, 1 Dec 2010 12:42:00 -0800 (PST)


The following commit has been merged in the master branch:
commit 8fa01c4d602fac6d5d81b119d0593f02087e4302
Author: Antoine Verheijen <antoine@ualberta.ca>
Date:   Wed Dec 1 11:37:02 2010 -0700

    DARWIN: Fix processing using rx_ifaddr_* macros in afsi_SetServerIPRank()
    
    The macros rx_ifaddr_address, rx_ifaddr_netmask, and rx_ifaddr_dstaddress
    all expand to a call to memcpy() which returns the destination address as
    its return value. The test in the DARWIN version of afsi_SetServerIPRank()
    for completion when using this macro, however, seems to assume that success
    returns zero, which is wrong and results in myAddr, subnetmask, and
    myDstaddr always being set to zero. This patch corrects this behaviour.
    
    Change-Id: I66f5c790d8c55b359e3550b6d71f3abe040a2820
    Reviewed-on: http://gerrit.openafs.org/3401
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/afs/afs_server.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository