OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-194-g1c51abe
Gerrit Code Review
gerrit@openafs.org
Thu, 28 Jul 2022 12:22:05 -0400
The following commit has been merged in the master branch:
commit 1c51abe6f4829c04a69402c2bbad42f5f688e21c
Author: Andrew Deason <adeason@sinenomine.net>
Date: Fri Jul 8 16:42:43 2022 -0500
viced: Show correct port/valid in state_analyzer
state_analyzer currently prints the port for 'host' entries directly.
The port is stored in network-byte order, though, so on little-endian
machines, the port is not displayed correctly.
Fix this by converting to host-byte order when printing. Also while
we're here, print the 'valid' field when showing AddrPort structs,
since we currently don't show it at all.
Change-Id: Id5049f37566f74287d71973957e25c1ffd64982d
Reviewed-on: https://gerrit.openafs.org/15066
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/viced/state_analyzer.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository