Routing: Print labels on adjacency matrix when logging
refs: #2045
Change-Id: I0fa36eed1a6afdca6f135c80a20aa062a5e8cd63
diff --git a/src/route/routing-table-calculator.hpp b/src/route/routing-table-calculator.hpp
index 7158fd6..6024fbd 100644
--- a/src/route/routing-table-calculator.hpp
+++ b/src/route/routing-table-calculator.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2014-2017, The University of Memphis,
+ * Copyright (c) 2014-2018, The University of Memphis,
* Regents of the University of California
*
* This file is part of NLSR (Named-data Link State Routing).
@@ -61,10 +61,10 @@
\param pMap The map to populate with the adj. data.
*/
void
- makeAdjMatrix(Nlsr& pnlsr, Map pMap);
+ makeAdjMatrix(Nlsr& pnlsr, Map& pMap);
void
- writeAdjMatrixLog();
+ writeAdjMatrixLog(const Map& map) const;
/*! \brief Returns how many links a router in the matrix has.
\param sRouter The router to count the links of.