mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
Render the IP address for the "Ubik: Lost contact with sync-site" log
message in the same way that all other IP addresses are (via afs_inet_ntoa, rather than stripping the buytes out in a manner which assumes a specific endianism). Done more as a way to test my understanding of the GIT/GERRIT technology with a small non-important checkin. Change-Id: I177e1288e8e23087aeebb7abe4ed63a7c2b88ccb Reviewed-on: http://gerrit.openafs.org/1649 Tested-by: Rod Widdowson <rdw@steadingsoftware.com> Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com> Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk> Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
7c6f94b365
commit
001a61a618
@ -276,9 +276,8 @@ SVOTE_Beacon(register struct rx_call * rxcall, afs_int32 astate,
|
|||||||
} else if (syncTime + BIGTIME < now) {
|
} else if (syncTime + BIGTIME < now) {
|
||||||
if (syncHost) {
|
if (syncHost) {
|
||||||
ubik_dprint
|
ubik_dprint
|
||||||
("Ubik: Lost contact with sync-site %d.%d.%d.%d (NOT in quorum)\n",
|
("Ubik: Lost contact with sync-site %s (NOT in quorum)\n",
|
||||||
((syncHost >> 24) & 0xff), ((syncHost >> 16) & 0xff),
|
afs_inet_ntoa(syncHost));
|
||||||
((syncHost >> 8) & 0xff), (syncHost & 0xff));
|
|
||||||
}
|
}
|
||||||
syncHost = 0;
|
syncHost = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user