mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
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:
parent
189a99e894
commit
6448d4edc8
@ -6225,6 +6225,7 @@ UV_SyncVolume(afs_int32 aserver, afs_int32 apart, char *avolname, int flags)
|
|||||||
if (modified && (code == VL_NOENT)) {
|
if (modified && (code == VL_NOENT)) {
|
||||||
fprintf(STDOUT, "\n**entry deleted**\n");
|
fprintf(STDOUT, "\n**entry deleted**\n");
|
||||||
} else if (modified) {
|
} else if (modified) {
|
||||||
|
MapHostToNetwork(&vldbentry);
|
||||||
EnumerateEntry(&vldbentry);
|
EnumerateEntry(&vldbentry);
|
||||||
} else {
|
} else {
|
||||||
fprintf(STDOUT, "\n**no change**\n");
|
fprintf(STDOUT, "\n**no change**\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user