added option min-time-between-resolves-option and tests for it
[pingcheck] / src / config / configurationoptions.cpp
index 3c975eb..9e574dd 100644 (file)
@@ -49,6 +49,7 @@
 #include "config/option/pingreplytimeoutoption.h"
 #include "config/option/maxaddressresolutionattemptsoption.h"
 #include "config/option/resolvedipttlthresholdoption.h"
+#include "config/option/mintimebetweenresolvesoption.h"
 #include "config/option/dnscachefileoption.h"
 
 using namespace std;
@@ -121,6 +122,9 @@ ConfigurationOptions::ConfigurationOptions() :
     ConfigurationOptionItem resolved_ip_ttl_threshold( new ResolvedIpTtlThresholdOption );
     ConfigOptions.push_back( resolved_ip_ttl_threshold );
 
+    ConfigurationOptionItem min_time_between_resolves( new MinTimeBetweenResolvesOption );
+    ConfigOptions.push_back( min_time_between_resolves );
+
     ConfigurationOptionItem ratio_random_hosts( new RatioRandomHostsOption );
     ConfigOptions.push_back( ratio_random_hosts );