Link State Routing Calculation
diff --git a/nlsr_lsa.cpp b/nlsr_lsa.cpp
index 5495859..38d3fd5 100644
--- a/nlsr_lsa.cpp
+++ b/nlsr_lsa.cpp
@@ -8,11 +8,12 @@
 
 using namespace std;
 
-string 
-Lsa::getLsaKey()
+
+string
+NameLsa::getNameLsaKey()
 {
 	string key;
-	key=origRouter + "/" + boost::lexical_cast<std::string>(lsType);
+	key=origRouter + "/" + boost::lexical_cast<std::string>(1);
 	return key;
 }
 
@@ -72,6 +73,7 @@
 }
 
 
+
 CorLsa::CorLsa(string origR, uint8_t lst, uint32_t lsn, uint32_t lt
 	      																							, double r, double theta)
 {
@@ -83,6 +85,14 @@
 	corTheta=theta;
 }
 
+string
+CorLsa::getCorLsaKey()
+{
+	string key;
+	key=origRouter + "/" + boost::lexical_cast<std::string>(3);
+	return key;
+}
+
 string 
 CorLsa::getCorLsaData()
 {
@@ -131,6 +141,14 @@
 	}
 }
 
+string
+AdjLsa::getAdjLsaKey()
+{
+	string key;
+	key=origRouter + "/" + boost::lexical_cast<std::string>(2);
+	return key;
+}
+
 string 
 AdjLsa::getAdjLsaData(){
 	string adjLsaData;