mgmt: make Uri and LocalUri required in faces/create success response
refs #3956
Change-Id: I62e924c12476aab0f7b7300ba8ff730ae72cbd73
diff --git a/src/mgmt/nfd/control-command.cpp b/src/mgmt/nfd/control-command.cpp
index de840d6..00bdfa5 100644
--- a/src/mgmt/nfd/control-command.cpp
+++ b/src/mgmt/nfd/control-command.cpp
@@ -102,10 +102,10 @@
.optional(CONTROL_PARAMETER_MASK);
m_responseValidator
.required(CONTROL_PARAMETER_FACE_ID)
+ .required(CONTROL_PARAMETER_URI)
+ .required(CONTROL_PARAMETER_LOCAL_URI)
.required(CONTROL_PARAMETER_FACE_PERSISTENCY)
- .optional(CONTROL_PARAMETER_FLAGS)
- .optional(CONTROL_PARAMETER_URI)
- .optional(CONTROL_PARAMETER_LOCAL_URI);
+ .required(CONTROL_PARAMETER_FLAGS);
}
void