clock problem
Nicolas Rachinsky
fbsd-stable-0 at ml.turing-complete.org
Tue May 8 16:08:09 UTC 2007
* Oliver Fromme <olli at lurza.secnetix.de> [2007-05-08 16:29 +0200]:
> How are you redialling? If you get a new dynamic IP
> address, it might be necessary to restart ntpd.
> For example, if you use ppp(8) for dial-up, you can
> write a "linkup" script that performs the restart.
I use the attached patch.
Nicolas
--
http://www.rachinsky.de/nicolas
-------------- next part --------------
--- contrib/ntp/ntpd/ntp_io.c.orig Tue Jul 20 17:01:27 2004
+++ contrib/ntp/ntpd/ntp_io.c Fri Oct 6 00:32:31 2006
@@ -466,6 +466,14 @@
if (scan_ipv6 == ISC_FALSE && family == AF_INET6)
continue;
+ if(strncmp(isc_if.name,"tun",3)==0)
+ {
+ if (debug)
+ printf("ignoring <%s> (tun*)\n", isc_if.name);
+ continue;
+ }
+
+
/* Check to see if we are going to use the interface */
if (address_okay(&isc_if) == ISC_TRUE) {
convert_isc_if(&isc_if, &inter_list[idx], port);
More information about the freebsd-stable
mailing list