mgmt: Process FacePersistency in FaceManager

Change-Id:I3a93bd658d40f3d77f7790b72e8873646ecc7990
Refs: #2991
diff --git a/daemon/mgmt/face-manager.cpp b/daemon/mgmt/face-manager.cpp
index 692acf9..db3b92f 100644
--- a/daemon/mgmt/face-manager.cpp
+++ b/daemon/mgmt/face-manager.cpp
@@ -931,6 +931,7 @@
   addCreatedFaceToForwarder(newFace);
   parameters.setFaceId(newFace->getId());
   parameters.setUri(newFace->getRemoteUri().toString());
+  parameters.setFacePersistency(newFace->getPersistency());
 
   sendResponse(requestName, 200, "Success", parameters.wireEncode());
 }
@@ -981,7 +982,7 @@
   try
     {
       factory->second->createFace(uri,
-                                  ndn::nfd::FACE_PERSISTENCY_PERSISTENT,
+                                  parameters.getFacePersistency(),
                                   bind(&FaceManager::onCreated,
                                        this, requestName, parameters, _1),
                                   bind(&FaceManager::onConnectFailed,