From 6448d4edc8fc7e8ca581f608e2b98a257bd20251 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Tue, 9 Mar 2010 14:48:36 -0600 Subject: [PATCH] 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 Tested-by: Derrick Brashear --- src/volser/vsprocs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index 34686ca9cb..11af64894d 100644 --- a/src/volser/vsprocs.c +++ b/src/volser/vsprocs.c @@ -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");