try-harder-to-notice-down-server-20010608
authorDerrick Brashear <shadow@dementia.org>
Fri, 8 Jun 2001 23:23:07 +0000 (23:23 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 8 Jun 2001 23:23:07 +0000 (23:23 +0000)
try harder to notice something is down otherwise we can end up looping forever

src/afs/afs_server.c

index e8dfc7f..561e4c9 100644 (file)
@@ -282,7 +282,7 @@ static void CheckVLServer(sa, areq)
 
     AFS_STATCNT(CheckVLServer);
     /* Ping dead servers to see if they're back */
-    if (!(aserver->flags & SRVR_ISDOWN) || (aserver->flags & SRVR_ISGONE))
+    if (!((aserver->flags & SRVR_ISDOWN) || (sa->sa_flags & SRVADDR_ISDOWN)) || (aserver->flags & SRVR_ISGONE))
        return;
     if (!aserver->cell)
        return; /* can't do much */