code review fix
Change-Id: Ie616543094aaa31d596980ba7a3cef05de4351fc
diff --git a/tools/ndncert-ca-server.cpp b/tools/ndncert-ca-server.cpp
index 7c055d5..1ab3130 100644
--- a/tools/ndncert-ca-server.cpp
+++ b/tools/ndncert-ca-server.cpp
@@ -137,7 +137,7 @@
});
cachedCertificates[profileData.getName()] = profileData;
face.setInterestFilter(
- InterestFilter(ca.getCaConf().m_caProfile.m_caPrefix),
+ InterestFilter(ca.getCaConf().caProfile.m_caPrefix),
[&](const InterestFilter&, const Interest& interest) {
auto search = cachedCertificates.find(interest.getName());
if (search != cachedCertificates.end()) {