"Edrusb" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Detecting when an old interface has "disappeared" should be possible > looking at the errno global variable when sendto() system call returns > an error (errno = EINVAL). And I guess, like Bind does, a periodic > interface scanning plus an "on event" scanning (when sendto() returns an > error) should be "large" enough to address this problem? > > Regards, > Denis.
Checking errno might be one way to detect when an interface has disappeared. Assuming that you already have code to read up the list of interfaces on a server, another simple approach is to run that code again and then compare the current interface list to what NTP was using previously. _______________________________________________ questions mailing list [email protected] https://lists.ntp.isc.org/mailman/listinfo/questions
