communication+route: Do not advertise Adjacency LSAs when hyperbolic routing is enabled

refs: #2402

Change-Id: If204807733f858606e31a0ff8231f140905063cf
diff --git a/src/nlsr.cpp b/src/nlsr.cpp
index 2f098fe..1835ef8 100644
--- a/src/nlsr.cpp
+++ b/src/nlsr.cpp
@@ -380,7 +380,12 @@
         // has met the HELLO retry threshold
         adjacent->setInterestTimedOutNo(m_confParam.getInterestRetryNumber());
 
-        m_nlsrLsdb.scheduleAdjLsaBuild();
+        if (m_confParam.getHyperbolicState() != HYPERBOLIC_STATE_OFF) {
+          getRoutingTable().scheduleRoutingTableCalculation(*this);
+        }
+        else {
+          m_nlsrLsdb.scheduleAdjLsaBuild();
+        }
       }
     }
   }