mgmt: avoid deprecated KeyLocator::Type enum

Change-Id: I8e1528dfee9636096dc10892a37b6d39414e2f4a
diff --git a/daemon/mgmt/manager-base.cpp b/daemon/mgmt/manager-base.cpp
index 496b439..49f5b8b 100644
--- a/daemon/mgmt/manager-base.cpp
+++ b/daemon/mgmt/manager-base.cpp
@@ -59,15 +59,13 @@
 }
 
 void
-ManagerBase::extractRequester(const Interest& interest,
-                              ndn::mgmt::AcceptContinuation accept)
+ManagerBase::extractRequester(const Interest& interest, ndn::mgmt::AcceptContinuation accept)
 {
   const Name& interestName = interest.getName();
 
   try {
     ndn::SignatureInfo sigInfo(interestName.at(ndn::signed_interest::POS_SIG_INFO).blockFromValue());
-    if (!sigInfo.hasKeyLocator() ||
-        sigInfo.getKeyLocator().getType() != ndn::KeyLocator::KeyLocator_Name) {
+    if (!sigInfo.hasKeyLocator() || sigInfo.getKeyLocator().getType() != tlv::Name) {
       return accept("");
     }