From: Jeffrey Altman Date: Sat, 10 May 2008 16:24:04 +0000 (+0000) Subject: STABLE14-udebug-display-lastyeshost-order-20080510 X-Git-Tag: openafs-stable-1_4_8pre1~87 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f9f3c7a36813d4b93d762e056ef1ff838ee1ba47;p=packages%2Fo%2Fopenafs.git STABLE14-udebug-display-lastyeshost-order-20080510 LICENSE MIT lastYesHost is already in network byte order. do not reorder it again when displaying it. (cherry picked from commit b5dc1903a4bca5bae099beec0b95840df7282250) --- diff --git a/src/ubik/udebug.c b/src/ubik/udebug.c index a7e5ab6cc..6c2474630 100644 --- a/src/ubik/udebug.c +++ b/src/ubik/udebug.c @@ -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;