From 3cb49f57a34b42c9efdc24797efda053cd88be80 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Tue, 24 Nov 2009 16:09:42 -0500 Subject: [PATCH] Dump all hostFlags in hosts.dump Currently only certain flags are dumped in hosts.dump. Also dump the value of hostFlags itself, so we get more information from a host dump. Change-Id: I2d265b85e057c2d44938e1d92f4c102048c4bf1f Reviewed-on: http://gerrit.openafs.org/869 Tested-by: Andrew Deason Reviewed-by: Dan Hyde Reviewed-by: Alistair Ferguson Tested-by: Alistair Ferguson Reviewed-by: Derrick Brashear --- src/viced/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viced/host.c b/src/viced/host.c index 01ebee9a0d..7fc2e45ffb 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -2667,7 +2667,7 @@ h_DumpHost(register struct host *host, int flags, void *rock) ntohs(host->interface->interface[i].port)); (void)STREAM_WRITE(tmpStr, strlen(tmpStr), 1, file); } - sprintf(tmpStr, "] refCount: %d\n", host->refCount); + sprintf(tmpStr, "] refCount:%d hostFlags:%hu\n", host->refCount, host->hostFlags); (void)STREAM_WRITE(tmpStr, strlen(tmpStr), 1, file); H_UNLOCK;