]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-udebug-display-lastyeshost-order-20080510
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 10 May 2008 16:24:04 +0000 (16:24 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 10 May 2008 16:24:04 +0000 (16:24 +0000)
LICENSE MIT

lastYesHost is already in network byte order.  do not reorder it again
when displaying it.

(cherry picked from commit b5dc1903a4bca5bae099beec0b95840df7282250)

src/ubik/udebug.c

index a7e5ab6cc45ad9fb355ba17e0d16cf25746534a1..6c2474630eda9aaa4304065ffad362c459c1ac5a 100644 (file)
@@ -192,7 +192,7 @@ CommandProc(struct cmd_syndesc *as, void *arock)
     } else {
        diff = udebug.now - udebug.lastYesTime;
        printf("Last yes vote for %s was %d secs ago (%ssync site); \n",
-              afs_inet_ntoa(htonl(udebug.lastYesHost)), diff,
+              afs_inet_ntoa(udebug.lastYesHost), diff,
               ((udebug.lastYesState) ? "" : "not "));
 
        diff = udebug.now - udebug.lastYesClaim;