From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/246468-check_ntp_flags.patch | 47 ++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 web/attachments/246468-check_ntp_flags.patch (limited to 'web/attachments/246468-check_ntp_flags.patch') diff --git a/web/attachments/246468-check_ntp_flags.patch b/web/attachments/246468-check_ntp_flags.patch new file mode 100644 index 0000000..e659ec5 --- /dev/null +++ b/web/attachments/246468-check_ntp_flags.patch @@ -0,0 +1,47 @@ +*** nagios-plugins-1.4.9/plugins/check_ntp.c 2007-04-10 09:17:18.000000000 +0200 +--- nagios-plugins-1.4.9_flags/plugins/check_ntp.c 2007-09-20 15:14:54.000000000 +0200 +*************** +*** 86,91 **** +--- 86,92 ---- + double rtdelay; /* converted from the ntp_message */ + double rtdisp; /* converted from the ntp_message */ + double offset[AVG_NUM]; /* offsets from each response */ ++ uint8_t flags; /* byte with leapindicator,vers,mode. see macros */ + } ntp_server_results; + + /* this structure holds everything in an ntp control message as per rfc1305 */ +*************** +*** 302,307 **** +--- 303,314 ---- + + /* for each server */ + for(cserver=0; cserver