src: Changing nlsr to NLSR
Change-Id: I9df5b76b65ee3969f02612f4ec54a4e5a82673cf
diff --git a/nlsr.conf b/nlsr.conf
index 6632d4b..d5d3f94 100644
--- a/nlsr.conf
+++ b/nlsr.conf
@@ -137,7 +137,7 @@
filter
{
type name
- regex ^[^<nlsr><LSA>]*<nlsr><LSA>
+ regex ^[^<NLSR><LSA>]*<NLSR><LSA>
}
checker
{
@@ -151,7 +151,7 @@
k-regex ^([^<KEY><NLSR>]*)<NLSR><KEY><ksk-.*><ID-CERT>$
k-expand \\1\\2
h-relation equal
- p-regex ^([^<nlsr><LSA>]*)<nlsr><LSA>(<>*)<><>$
+ p-regex ^([^<NLSR><LSA>]*)<NLSR><LSA>(<>*)<><>$
p-expand \\1\\2
}
}
diff --git a/src/conf-parameter.hpp b/src/conf-parameter.hpp
index a08377c..cb97943 100644
--- a/src/conf-parameter.hpp
+++ b/src/conf-parameter.hpp
@@ -89,11 +89,11 @@
{
m_network = networkName;
m_chronosyncPrefix = m_network;
- m_chronosyncPrefix.append("nlsr");
+ m_chronosyncPrefix.append("NLSR");
m_chronosyncPrefix.append("sync");
m_lsaPrefix = m_network;
- m_lsaPrefix.append("nlsr");
+ m_lsaPrefix.append("NLSR");
m_lsaPrefix.append("LSA");
}