Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv32253/src
Modified Files:
proto-p10.c
Log Message:
Squelch the warning about an invalid boot time for servers more than a hop away, who are supposed to have one of 0.
Index: proto-p10.c
===================================================================
RCS file: /cvsroot/srvx/services/src/proto-p10.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** proto-p10.c 8 Aug 2002 02:50:02 -0000 1.14
--- proto-p10.c 10 Aug 2002 00:49:04 -0000 1.15
***************
*** 643,647 ****
if (srv->boot <= PREHISTORY) {
/* Server from the mists of time.. */
! log(MAIN_LOG, LOG_ERROR, "Server %s claims to have booted at time "FMT_TIME_T". This is absurd.\n", srv->name, srv->boot);
} else if ((str = conf_get_data("server/reliable_clock", RECDB_QSTRING))
&& enabled_string(str)) {
--- 643,649 ----
if (srv->boot <= PREHISTORY) {
/* Server from the mists of time.. */
! if(srv->hops == 1) {
! log(MAIN_LOG, LOG_ERROR, "Server %s claims to have booted at time "FMT_TIME_T". This is absurd.\n", srv->name, srv->boot);
! }
} else if ((str = conf_get_data("server/reliable_clock", RECDB_QSTRING))
&& enabled_string(str)) {
|