Added experimental restart for changed resolved FQDN
This commit is contained in:
parent
45a85404bf
commit
90bd1a495c
@ -5,6 +5,7 @@ v0.83.11 28-Jan-2006
|
|||||||
mbtask:
|
mbtask:
|
||||||
Added logging for possible detection of dialup IBC neighbour
|
Added logging for possible detection of dialup IBC neighbour
|
||||||
address change.
|
address change.
|
||||||
|
Added experimental restart for changed resolved FQDN.
|
||||||
Made logging multithread aware.
|
Made logging multithread aware.
|
||||||
|
|
||||||
|
|
||||||
|
@ -1806,6 +1806,8 @@ void receiver(struct servent *se)
|
|||||||
if (strcmp(tnsl->resolved, hostname) && strcmp(tnsl->resolved, tnsl->server)) {
|
if (strcmp(tnsl->resolved, hostname) && strcmp(tnsl->resolved, tnsl->server)) {
|
||||||
Syslog('r', "IBC: GrepThiz old resolved %s new resolved %s state %s",
|
Syslog('r', "IBC: GrepThiz old resolved %s new resolved %s state %s",
|
||||||
tnsl->resolved, hostname, ncsstate[tnsl->state]);
|
tnsl->resolved, hostname, ncsstate[tnsl->state]);
|
||||||
|
Syslog('+', "IBC: server %s resolved FQDN changed, restarting", tnsl->server);
|
||||||
|
tnsl->crc--;
|
||||||
/*
|
/*
|
||||||
* This would be the moment to reset this neighbour
|
* This would be the moment to reset this neighbour
|
||||||
* Double check state: waitpwd or call ?
|
* Double check state: waitpwd or call ?
|
||||||
|
Reference in New Issue
Block a user