diff options
Diffstat (limited to 'net/openntpd/files/patch-src_ntpd.c')
-rw-r--r-- | net/openntpd/files/patch-src_ntpd.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net/openntpd/files/patch-src_ntpd.c b/net/openntpd/files/patch-src_ntpd.c new file mode 100644 index 000000000000..eb4601ab9b86 --- /dev/null +++ b/net/openntpd/files/patch-src_ntpd.c @@ -0,0 +1,18 @@ +--- src/ntpd.c.orig 2015-03-25 01:18:56 UTC ++++ src/ntpd.c +@@ -53,6 +53,7 @@ const char *ctl_lookup_option(char * + void show_status_msg(struct imsg *); + void show_peer_msg(struct imsg *, int); + void show_sensor_msg(struct imsg *, int); ++void update_status(int); + + volatile sig_atomic_t quit = 0; + volatile sig_atomic_t reconfig = 0; +@@ -423,6 +424,7 @@ ntpd_adjtime(double d) + else if (!firstadj && olddelta.tv_sec == 0 && olddelta.tv_usec == 0) + synced = 1; + firstadj = 0; ++ update_status(synced); + return (synced); + } + |