ndn: Fix name "cost" to "link-cost" in nlsr.conf file
Change-Id: I92dd8d143b359ac5c77b4be45d4f7fdc086cf69f
diff --git a/ndn/nlsr.py b/ndn/nlsr.py
index d880aaf..ab3c648 100644
--- a/ndn/nlsr.py
+++ b/ndn/nlsr.py
@@ -194,7 +194,7 @@
self.neighborIPs.append(ip)
self.node.cmd("{} -a neighbors.neighbor \
- <<<\'name {}{}-site/%C1.Router/cs/{} face-uri {}://{}\n cost {}\'"
+ <<<\'name {}{}-site/%C1.Router/cs/{} face-uri {}://{}\n link-cost {}\'"
.format(self.infocmd, NETWORK, other.name, other.name, self.faceType, ip, linkCost))
def __editHyperbolicSection(self):