check the clients with current_version, and if client have newer, whine
This commit is contained in:
@@ -555,12 +555,11 @@ process_msg (krb5_context context, slave *s, int log_fd,
|
|||||||
}
|
}
|
||||||
/* new started slave that have old log */
|
/* new started slave that have old log */
|
||||||
if (s->version == 0 && tmp != 0) {
|
if (s->version == 0 && tmp != 0) {
|
||||||
if (s->version < tmp) {
|
if (current_version < tmp) {
|
||||||
krb5_warnx (context, "Slave %s have later version the master "
|
krb5_warnx (context, "Slave %s have later version the master "
|
||||||
"OUT OF SYNC", s->name);
|
"OUT OF SYNC", s->name);
|
||||||
} else {
|
|
||||||
s->version = tmp;
|
|
||||||
}
|
}
|
||||||
|
s->version = tmp;
|
||||||
}
|
}
|
||||||
if (tmp < s->version) {
|
if (tmp < s->version) {
|
||||||
krb5_warnx (context, "Slave claims to not have "
|
krb5_warnx (context, "Slave claims to not have "
|
||||||
|
Reference in New Issue
Block a user