]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ntpd/ntp_refclock.c(refclock_params) report time_pps_kcbind errors but only return...
authorBrian Inglis <bwi@ntp.org>
Sun, 5 Mar 2017 18:23:32 +0000 (11:23 -0700)
committerBrian Inglis <bwi@ntp.org>
Sun, 5 Mar 2017 18:23:32 +0000 (11:23 -0700)
bk: 58bc57a4eeTaAPMuu3u0Bhh5_aWE3A

ntpd/ntp_refclock.c

index bc389012ef56436a4de52287c24b0290203d829f..86532aa8453de8a4ec0d71a084e19b3f04327333 100644 (file)
@@ -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;
        }