Added logging for possible IBC neighbour address change
This commit is contained in:
parent
d0adc2869c
commit
e8f8f096a2
@ -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
|
||||
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user