OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-268-gffe4454

Gerrit Code Review
Fri, 15 Oct 2010 14:03:45 -0700 (PDT)

The following commit has been merged in the master branch:
commit ffe445483a07c751202a1ef06136f70402ec895d
Author: Russ Allbery <>
Date:   Thu Oct 14 13:41:45 2010 -0700

    Return SRV record ports in network byte order
    Convert the port extracted from the SRV record return to network byte
    order before assigning it to the port array.
    The port in a SRV record is extracted by pulling out the high byte
    and low byte and then mathematically combining them, which implicity
    converts from network byte order to host byte order.  However, the
    callers of afsconf_LookupServer expect the port array to be returned
    in network byte order since ports are assigned without modification
    to the .sin_port field of a struct sockaddr_in.  See also the byte
    order of the default afsdbPort value.
    Reported by Jan Christoph Nordholz (Debian Bug#600228).
    Change-Id: I378fe2f769703e43800c185f0934c77dd97b1c7b
    Tested-by: BuildBot <>
    Reviewed-by: Derrick Brashear <>
    Reviewed-by: Jeffrey Altman <>
    Tested-by: Jeffrey Altman <>

 src/auth/cellconfig.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

OpenAFS Master Repository