From 8d0d3f16c3d6ee54154da056071d0e0befcfaeae Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sat, 6 Dec 2003 21:17:39 +0000 Subject: [PATCH] add-multiple-interface-support-20031206 The ubik support on Windows only verified against the first address on the system even if that address was assigned to a disabled interface. --- src/ubik/beacon.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ubik/beacon.c b/src/ubik/beacon.c index 898f1c948..0d69a1449 100644 --- a/src/ubik/beacon.c +++ b/src/ubik/beacon.c @@ -494,9 +494,8 @@ verifyInterfaceAddress(ame, info, aservers) } #ifdef AFS_NT40_ENV - /* for now use getaddr(). use getAllAddr when implemented */ - myAddr[0] = rxi_getaddr(); - count = (myAddr[0] != 0); + /* get all my interface addresses in net byte order */ + count = rx_getAllAddr(myAddr, UBIK_MAX_INTERFACE_ADDR); #else if (AFSDIR_SERVER_NETRESTRICT_FILEPATH || AFSDIR_SERVER_NETINFO_FILEPATH) { /* -- 2.39.5