]> git.michaelhowe.org Git - packages/o/openafs.git/commit
fix byte ordering in check_sysid
authorMichael Meffie <mmeffie@sinenomine.net>
Fri, 14 Nov 2014 21:57:53 +0000 (16:57 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Sat, 14 Nov 2015 16:59:56 +0000 (11:59 -0500)
commit0fb533dd0befea1db90222f98c6f464a52a8ede4
treef88b78b01eba45aa6cd9f2ea8cb55a85a2fca69d
parentefb10d6facd3933a68b167fcdeaff65fbc77461b
fix byte ordering in check_sysid

Several uuid fields as well as the ip addreses in the sysid file are in
network byte order.  Fix the check_sysid utility to decode these fields
properly.  In addition, print the server uuid in the common string
format used to display uuids, instead of by individual uuid fields.

Reviewed-on: http://gerrit.openafs.org/11603
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Daria Brashear <shadow@your-file-system.com>
(cherry picked from commit 52b8073a6c1ef11f1a47fb26d77efd87425be556)

Note: Although this fix is marked as a "cherry-pick", this patch was
rewritten for the 1.6 branch since the opr uuid handling functions are
not available in the 1.6 branch.

Change-Id: I52e74fc28b30f06a8180ff65a8006c9281162fe9
Reviewed-on: http://gerrit.openafs.org/12090
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/viced/check_sysid.c