src: change initialization order
Send Hello Interest after route to neighbor is successfully registered
--> First Hello interval is eliminated
--> After Hello Nack, wait exponentially before processing it as a timeout
Register sync route for each neighbor after its Hello Data is validated
refs: #5009
Change-Id: Ice39a591f1e58e474b494d93c913fa45e10f24f2
diff --git a/nlsr.conf b/nlsr.conf
index 791cbf0..0adf02c 100644
--- a/nlsr.conf
+++ b/nlsr.conf
@@ -38,7 +38,7 @@
hello-retries 3 ; interest retries number in integer. Default value 3
; valid values 1-10
- hello-timeout 1 ; interest time out value in integer. Default value 1
+ hello-timeout 1 ; interest time out value in seconds. Default value 1
; Valid values 1-15
hello-interval 60 ; interest sending interval in seconds. Default value 60
@@ -47,12 +47,7 @@
; adj-lsa-build-interval is the time to wait in seconds after an Adjacency LSA build is scheduled
; before actually building the Adjacency LSA
- adj-lsa-build-interval 5 ; default value 5. Valid values 0-5. It is recommended that
- ; adj-lsa-build-interval have a lower value than routing-calc-interval
-
- ; first-hello-interval is the time to wait in seconds before sending the first Hello Interest
-
- first-hello-interval 10 ; Default value 10. Valid values 0-10
+ adj-lsa-build-interval 10 ; default value 10. Valid values 5-30.
face-dataset-fetch-tries 3 ; default is 3. Valid values 1-10. The FaceDataset is
; gotten from NFD, and is needed to configure NLSR