OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-67-g1120eb3

Gerrit Code Review gerrit@openafs.org
Tue, 7 Dec 2010 10:40:00 -0800 (PST)


The following commit has been merged in the openafs-stable-1_4_x branch:
commit 1120eb359b48c5a51644c939aa3287d4956dc26a
Author: Antoine Verheijen <antoine@ualberta.ca>
Date:   Tue Dec 7 11:22:45 2010 -0700

    DARWIN: Fix processing using ifaddr_* macros in afsi_SetServerIPRank()
    
    The macros ifaddr_address, ifaddr_netmask, and 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.
    
    Reviewed-on: http://gerrit.openafs.org/3401
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 8fa01c4d602fac6d5d81b119d0593f02087e4302)
    
    Change-Id: I3e5ae8365ab06d01fa2f390edc98f8c6017ca964
    Reviewed-on: http://gerrit.openafs.org/3473
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    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