mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 21:47:45 +00:00
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 <adeason@sinenomine.net> Reviewed-by: Dan Hyde <drh@umich.edu> Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com> Tested-by: Alistair Ferguson <alistair.ferguson@mac.com> Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
5529bf9b6b
commit
3cb49f57a3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user