diff --git a/ChangeLog b/ChangeLog index d6b5e61d..9796ad65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ $Id$ v0.83.11 28-Jan-2006 + mbtask: + Added logging for possible detection of dialup IBC neighbour + address change. + v0.83.10 25-Jan-2006 - 28-Jan-2006 diff --git a/mbtask/taskibc.c b/mbtask/taskibc.c index 3f293c43..bf178acd 100644 --- a/mbtask/taskibc.c +++ b/mbtask/taskibc.c @@ -1785,6 +1785,14 @@ void receiver(struct servent *se) * FQDN to the one from the setup, so we continue to use the * dynamic FQDN. */ + if (strcmp(tnsl->resolved, hostname)) { + Syslog('r', "IBC: old resolved %s new resolved %s state %s", + tnsl->resolved, hostname, ncsstate[tnsl->state]); + /* + * This would be the moment to reset this neighbour + * Double check state: waitpwd or call ? + */ + } strncpy(tnsl->resolved, hostname, 63); inlist = TRUE; Syslog('r', "IBC: setting '%s' to dynamic dns '%s'", tnsl->resolved, tnsl->server);