From 874f449df4de4e7fd9ae279af0ee0eb519d0c82f Mon Sep 17 00:00:00 2001 From: Hartmut Reuter Date: Wed, 25 Aug 2004 08:11:03 +0000 Subject: [PATCH] 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 6f1cd5a43e1240ecc7a964b8236e25e1d0e46fca) --- src/ubik/beacon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ubik/beacon.c b/src/ubik/beacon.c index 645283b3e5..e4f6bddb6c 100644 --- a/src/ubik/beacon.c +++ b/src/ubik/beacon.c @@ -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) {