forwarding-entry: Fix "bug" with timeout for self-registered prefix

ndnd ignores any freshness that is larger than 3600 sec and sets 300 sec
instead.

To register prefix "forever" (=2000000000 sec), freshnessPeriod must be
omitted (should equal -1).

Change-Id: I699f2ad9a879507b49b5347df850bc784e8c7f84
diff --git a/src/node.cpp b/src/node.cpp
index 408811b..99db103 100644
--- a/src/node.cpp
+++ b/src/node.cpp
@@ -203,7 +203,10 @@
    const ForwardingFlags& flags, WireFormat& wireFormat)
 {
   // Create a ForwardingEntry.
-  ForwardingEntry forwardingEntry("selfreg", *prefix, PublisherPublicKeyDigest(), -1, flags, 2147483647);
+
+  // AlexA: ndnd ignores any freshness that is larger than 3600 sec and sets 300 sec instead
+  //        to register "forever" (=2000000000 sec), freshnessPeriod must be omitted
+  ForwardingEntry forwardingEntry("selfreg", *prefix, PublisherPublicKeyDigest(), -1, flags, -1);
   Blob content = forwardingEntry.wireEncode();
 
   // Set the ForwardingEntry as the content of a Data packet and sign.