summaryrefslogtreecommitdiffstats
path: root/web/attachments/231381-check_ntp-jitterfix.diff
blob: d6d6d7820fb8df14b356e4527e8da9797742e021 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- nagios-plugins-HEAD-200706011200/plugins-scripts/check_ntp.pl       2005-11-29 16:49:47.000000000 -0800
+++ nagios-plugins/plugins-scripts/check_ntp.pl 2007-06-01 09:40:41.000000000 -0700
@@ -312,6 +312,8 @@
                                } else {
                                        $jitter_error = $ERRORS{'OK'};
                                }
+                               # We found the associated host, no need to process any more
+                               last;
                        } else {
                                print "No match!\n" if $verbose;
                                $jitter = '(not parsed)';