summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp.c
diff options
context:
space:
mode:
authordatamuc <m@rbfh.de>2023-10-04 12:02:25 (GMT)
committerGitHub <noreply@github.com>2023-10-04 12:02:25 (GMT)
commit9280b0eee22b9d4272b469d6ca0f7373d2aef67e (patch)
treea6ddce7b79fca4344fec2a48ec74127a4ddcfb62 /plugins/check_ntp.c
parentdfa5aa4b83c33ed6b609e7f79ebe1f03507b679c (diff)
parentd31dddadaf829d36b40ff02252dc523cf5078260 (diff)
downloadmonitoring-plugins-9280b0eee22b9d4272b469d6ca0f7373d2aef67e.tar.gz
Merge branch 'master' into merge-jitter
Diffstat (limited to 'plugins/check_ntp.c')
-rw-r--r--plugins/check_ntp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index 3614650..99537c8 100644
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
@@ -486,7 +486,7 @@ double offset_request(const char *host, int *status){
486 } 486 }
487 487
488 /* cleanup */ 488 /* cleanup */
489 /* FIXME: Not closing the socket to avoid re-use of the local port 489 /* FIXME: Not closing the socket to avoid reuse of the local port
490 * which can cause old NTP packets to be read instead of NTP control 490 * which can cause old NTP packets to be read instead of NTP control
491 * packets in jitter_request(). THERE MUST BE ANOTHER WAY... 491 * packets in jitter_request(). THERE MUST BE ANOTHER WAY...
492 * for(j=0; j<num_hosts; j++){ close(socklist[j]); } */ 492 * for(j=0; j<num_hosts; j++){ close(socklist[j]); } */