tools: add reliability option to nfdc face create
add LpReliability flag to FaceManager face status output
refs #4004
Change-Id: Ibcdfe7ff0fc9790cbcc4f2aa5e57e27b8a76023c
diff --git a/daemon/mgmt/face-manager.cpp b/daemon/mgmt/face-manager.cpp
index c3cd1bd..936b71e 100644
--- a/daemon/mgmt/face-manager.cpp
+++ b/daemon/mgmt/face-manager.cpp
@@ -424,6 +424,8 @@
if (linkService != nullptr) {
auto linkServiceOptions = linkService->getOptions();
traits.setFlagBit(ndn::nfd::BIT_LOCAL_FIELDS_ENABLED, linkServiceOptions.allowLocalFields);
+ traits.setFlagBit(ndn::nfd::BIT_LP_RELIABILITY_ENABLED,
+ linkServiceOptions.reliabilityOptions.isEnabled);
}
}