vos: correct syncvldb -verbose server byte order

'vos syncvldb -verbose' outputs the before/after VLDB entries for
altered entries, but the 'after' output shows server addresses in NBO.
EnumerateEntry expects server IPs to be in NBO, so correct one location
where they were passed in HBO.

Change-Id: I332fe83b45b2b595e091c8eb9bdc57d89d5e36a8
Reviewed-on: http://gerrit.openafs.org/1550
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Andrew Deason 2010-03-09 14:48:36 -06:00 committed by Derrick Brashear
parent 189a99e894
commit 6448d4edc8

View File

@ -6225,6 +6225,7 @@ UV_SyncVolume(afs_int32 aserver, afs_int32 apart, char *avolname, int flags)
if (modified && (code == VL_NOENT)) {
fprintf(STDOUT, "\n**entry deleted**\n");
} else if (modified) {
MapHostToNetwork(&vldbentry);
EnumerateEntry(&vldbentry);
} else {
fprintf(STDOUT, "\n**no change**\n");