diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_ntp.c | 2 | ||||
-rw-r--r-- | plugins/check_ntp_time.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index 93b2869..6607b4b 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c | |||
@@ -54,7 +54,9 @@ void print_help (void); | |||
54 | void print_usage (void); | 54 | void print_usage (void); |
55 | 55 | ||
56 | /* number of times to perform each request to get a good average. */ | 56 | /* number of times to perform each request to get a good average. */ |
57 | #ifndef AVG_NUM | ||
57 | #define AVG_NUM 4 | 58 | #define AVG_NUM 4 |
59 | #endif | ||
58 | 60 | ||
59 | /* max size of control message data */ | 61 | /* max size of control message data */ |
60 | #define MAX_CM_SIZE 468 | 62 | #define MAX_CM_SIZE 468 |
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index 746b683..f856457 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.c | |||
@@ -55,7 +55,9 @@ void print_help (void); | |||
55 | void print_usage (void); | 55 | void print_usage (void); |
56 | 56 | ||
57 | /* number of times to perform each request to get a good average. */ | 57 | /* number of times to perform each request to get a good average. */ |
58 | #ifndef AVG_NUM | ||
58 | #define AVG_NUM 4 | 59 | #define AVG_NUM 4 |
60 | #endif | ||
59 | 61 | ||
60 | /* max size of control message data */ | 62 | /* max size of control message data */ |
61 | #define MAX_CM_SIZE 468 | 63 | #define MAX_CM_SIZE 468 |