OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_66-62-g4c25f00
Gerrit Code Review
gerrit@openafs.org
Sat, 14 Nov 2009 22:04:39 -0800 (PST)
The following commit has been merged in the master branch:
commit 4c25f00088a603723b75e60d6b808a89034b33d3
Author: Jeffrey Altman <jaltman@secure-endpoints.com>
Date: Sun Nov 15 01:01:23 2009 -0500
Windows: Fix port assignment to use network byte order
Service port numbers are stored within sockaddr* structures
and returned by afsconf_FindService() in network byte order.
getAFSServer() and afsconf_GetAfsdbInfo() accept and return
service port numbers in network byte order.
When processing the special case for 7002 and 7003 in
afsconf_GetAfsdbInfo(), the comparisons must consistently
use network byte order.
When assigning port numbers for AFSDB lookups, getAFSServer()
must use network byte order.
Document the use of network byte order for each variable.
LICENSE MIT
Change-Id: I2163826e8a234a1d19474b2eba3d36335ba12afb
Reviewed-on: http://gerrit.openafs.org/830
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_config.c | 6 +++---
src/WINNT/afsd/cm_dns.c | 17 +++++++++--------
src/auth/cellconfig.c | 6 +++---
3 files changed, 15 insertions(+), 14 deletions(-)
--
OpenAFS Master Repository