src: fix incorrect error on face-dataset-fetch-interval valid values

refs: #4211

Change-Id: I9ec04483a633ecf31797dd1637229d147d436d35
diff --git a/src/conf-file-processor.cpp b/src/conf-file-processor.cpp
index 5362a41..9facbd5 100644
--- a/src/conf-file-processor.cpp
+++ b/src/conf-file-processor.cpp
@@ -19,6 +19,12 @@
  * NLSR, e.g., in COPYING.md file.  If not, see <http://www.gnu.org/licenses/>.
  **/
 
+#include "conf-parameter.hpp"
+#include "conf-file-processor.hpp"
+#include "adjacent.hpp"
+#include "utility/name-helper.hpp"
+#include "update/prefix-update-processor.hpp"
+
 #include <iostream>
 #include <fstream>
 
@@ -31,12 +37,6 @@
 #include <boost/property_tree/ptree.hpp>
 #include <boost/filesystem.hpp>
 
-#include "conf-parameter.hpp"
-#include "conf-file-processor.hpp"
-#include "adjacent.hpp"
-#include "utility/name-helper.hpp"
-#include "update/prefix-update-processor.hpp"
-
 namespace nlsr {
 
 using namespace std;
@@ -469,14 +469,14 @@
   }
 
   // Set the interval between FaceStatus dataset fetch attempts.
-  ConfigurationVariable<ndn::time::seconds> faceDatasetFetchInterval("face-dataset-fetch-interval",
+  ConfigurationVariable<uint32_t> faceDatasetFetchInterval("face-dataset-fetch-interval",
                                                            bind(&ConfParameter::setFaceDatasetFetchInterval,
                                                                 &m_nlsr.getConfParameter(),
                                                                 _1));
 
-  faceDatasetFetchInterval.setMinAndMaxValue(ndn::time::seconds(FACE_DATASET_FETCH_INTERVAL_MIN),
-                                             ndn::time::seconds(FACE_DATASET_FETCH_INTERVAL_MAX));
-  faceDatasetFetchInterval.setOptional(ndn::time::seconds(FACE_DATASET_FETCH_INTERVAL_DEFAULT));
+  faceDatasetFetchInterval.setMinAndMaxValue(FACE_DATASET_FETCH_INTERVAL_MIN,
+                                             FACE_DATASET_FETCH_INTERVAL_MAX);
+  faceDatasetFetchInterval.setOptional(FACE_DATASET_FETCH_INTERVAL_DEFAULT);
 
   if (!faceDatasetFetchInterval.parseFromConfigSection(section)) {
     return false;