add-multiple-interface-support-20031206
authorJeffrey Altman <jaltman@grand.central.org>
Sat, 6 Dec 2003 21:17:39 +0000 (21:17 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 6 Dec 2003 21:17:39 +0000 (21:17 +0000)
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

index 898f1c9..0d69a14 100644 (file)
@@ -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) {
        /*