Remove hints
Change-Id: I537619fefad6ffb6b46c5dc618f0fdcc15884d6e
diff --git a/src/daemon/name-server.cpp b/src/daemon/name-server.cpp
index 3170f79..15f77c3 100644
--- a/src/daemon/name-server.cpp
+++ b/src/daemon/name-server.cpp
@@ -75,7 +75,7 @@
NameServer::onInterest(const Name& prefix, const Interest& interest)
{
label::MatchResult re;
- if (!label::matchName(interest, "", m_zone.getName(), re))
+ if (!label::matchName(interest, m_zone.getName(), re))
return;
if (re.rrType == ndns::label::NDNS_UPDATE_LABEL) {
@@ -158,7 +158,7 @@
{
label::MatchResult re;
try {
- if (!label::matchName(*data, "", m_zone.getName(), re))
+ if (!label::matchName(*data, m_zone.getName(), re))
return;
}
catch (std::exception& e) {
diff --git a/src/daemon/name-server.hpp b/src/daemon/name-server.hpp
index 09c3101..aa75ade 100644
--- a/src/daemon/name-server.hpp
+++ b/src/daemon/name-server.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2014, Regents of the University of California.
+ * Copyright (c) 2014-2016, Regents of the University of California.
*
* This file is part of NDNS (Named Data Networking Domain Name Service).
* See AUTHORS.md for complete list of NDNS authors and contributors.
@@ -122,8 +122,6 @@
Zone m_zone;
DbMgr& m_dbMgr;
- // Name m_hint;
-
Name m_ndnsPrefix;
Name m_keyPrefix;
Name m_certName;