nfdc: setting default expiration time to time::milliseconds::max()

refs #1727

Change-Id: I6da174d18053fa05cf10804d398605d076475fe8
diff --git a/docs/manpages/nfdc.rst b/docs/manpages/nfdc.rst
index 9de9e0c..67d691c 100644
--- a/docs/manpages/nfdc.rst
+++ b/docs/manpages/nfdc.rst
@@ -39,7 +39,8 @@
         Cost for the RIB entry (default is 0).
 
       ``-e <expiration time>``
-        Expiration time of the RIB entry in milliseconds (default is 3600000).
+        Expiration time of the RIB entry in milliseconds. If not specified, the entry remains in FIB
+        for the lifetime of the associated face.
 
        ``-o <origin>``
         Origin of the registration request (default is 255).
diff --git a/tools/nfdc.cpp b/tools/nfdc.cpp
index a410c7a..a0e1c56 100644
--- a/tools/nfdc.cpp
+++ b/tools/nfdc.cpp
@@ -43,10 +43,11 @@
     "           register name to the given faceId or faceUri\n"
     "           -I: unset CHILD_INHERIT flag\n"
     "           -C: set CAPTURE flag\n"
-    "           -c: specify cost\n"
-    "           -e: specify expiring time in ms\n"
+    "           -c: specify cost (default 0)\n"
+    "           -e: specify expiration time in ms\n"
+    "               (by default the entry remains in FIB for the lifetime of the associated face)\n"
     "           -o: specify origin\n"
-    "               0 for Local producer applications, 128 for NLSR, 255 for static routes\n"
+    "               0 for Local producer applications, 128 for NLSR, 255(default) for static routes\n"
     "       unregister [-o origin] name <faceId>\n"
     "           unregister name from the given faceId\n"
     "       create <faceUri> \n"
@@ -61,7 +62,7 @@
     "           Unset the strategy for a namespace \n"
     "       add-nexthop [-c <cost>] <name> <faceId | faceUri>\n"
     "           Add a nexthop to a FIB entry\n"
-    "           -c: specify cost\n"
+    "           -c: specify cost (default 0)\n"
     "       remove-nexthop <name> <faceId> \n"
     "           Remove a nexthop from a FIB entry\n"
     << std::endl;
@@ -69,7 +70,7 @@
 
 namespace nfdc {
 
-const ndn::time::milliseconds Nfdc::DEFAULT_EXPIRATION_PERIOD = ndn::time::milliseconds(3600000);
+const ndn::time::milliseconds Nfdc::DEFAULT_EXPIRATION_PERIOD = ndn::time::milliseconds::max();
 const uint64_t Nfdc::DEFAULT_COST = 0;
 
 Nfdc::Nfdc(ndn::Face& face)