Make LSA buildable when one node is ACTIVE
refs: #2802
Change-Id: If3f99895522e22103130f32bb6634bf9a5691fe7
diff --git a/src/adjacency-list.hpp b/src/adjacency-list.hpp
index 2325f49..259bf61 100644
--- a/src/adjacency-list.hpp
+++ b/src/adjacency-list.hpp
@@ -29,7 +29,6 @@
#include "adjacent.hpp"
namespace nlsr {
-class Nlsr;
class AdjacencyList
{
@@ -74,7 +73,7 @@
addAdjacents(AdjacencyList& adl);
bool
- isAdjLsaBuildable(Nlsr& pnlsr);
+ isAdjLsaBuildable(const uint32_t interestRetryNo) const;
int32_t
getNumOfActiveNeighbor();