Added experimental restart for changed resolved FQDN

This commit is contained in:
Michiel Broek 2006-01-30 18:58:06 +00:00
parent 45a85404bf
commit 90bd1a495c
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ v0.83.11 28-Jan-2006
mbtask:
Added logging for possible detection of dialup IBC neighbour
address change.
Added experimental restart for changed resolved FQDN.
Made logging multithread aware.

View File

@ -1806,6 +1806,8 @@ void receiver(struct servent *se)
if (strcmp(tnsl->resolved, hostname) && strcmp(tnsl->resolved, tnsl->server)) {
Syslog('r', "IBC: GrepThiz old resolved %s new resolved %s state %s",
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
* Double check state: waitpwd or call ?