mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 07:51:00 +00:00
STABLE14-ubik-multihome-byte-order-problem-20040818
"Playing around with multi-address database servers on little-endian machines
I found out that there is one conversion of the ip-address too much"
(cherry picked from commit 6f1cd5a43e
)
This commit is contained in:
parent
3fa1980e52
commit
874f449df4
@ -570,7 +570,7 @@ verifyInterfaceAddress(ame, info, aservers)
|
||||
for (i = 0; i < totalServers; i++) {
|
||||
if (info)
|
||||
tmpAddr =
|
||||
ntohl((afs_uint32) info->hostAddr[i].sin_addr.s_addr);
|
||||
(afs_uint32) info->hostAddr[i].sin_addr.s_addr;
|
||||
else
|
||||
tmpAddr = aservers[i];
|
||||
if (myAddr[j] == tmpAddr) {
|
||||
|
Loading…
Reference in New Issue
Block a user