From: Brian Inglis Date: Sun, 5 Mar 2017 18:23:32 +0000 (-0700) Subject: ntpd/ntp_refclock.c(refclock_params) report time_pps_kcbind errors but only return... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22ca28ae8f91e552cfe95cca484224faae02437e;p=thirdparty%2Fntp.git ntpd/ntp_refclock.c(refclock_params) report time_pps_kcbind errors but only return failure if error other than not supported, allowing PPS to work bk: 58bc57a4eeTaAPMuu3u0Bhh5_aWE3A --- diff --git a/ntpd/ntp_refclock.c b/ntpd/ntp_refclock.c index bc389012e..86532aa84 100644 --- a/ntpd/ntp_refclock.c +++ b/ntpd/ntp_refclock.c @@ -1254,7 +1254,10 @@ refclock_params( PPS_TSFMT_TSPEC) < 0) { msyslog(LOG_ERR, "refclock_params: time_pps_kcbind: %m"); - return (0); + + if (errno != EOPNOTSUPP) { + return (0); + } } hardpps_enable = 1; }