[IOT-1906] Disable only /oic/res response under OCStopMulticastServer.
authorTodd Malsbary <todd.malsbary@intel.com>
Thu, 2 Mar 2017 22:14:03 +0000 (14:14 -0800)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Mon, 13 Mar 2017 17:57:02 +0000 (17:57 +0000)
commited128374c05005c325463de4cb32dcc0435b743a
treeab73c78a659cbba04b1f65bdc8c558114ce37f81
parente0579f1ddc9bea483bb2d9cfe0d752db9e91ff7f
[IOT-1906] Disable only /oic/res response under OCStopMulticastServer.

The intent of this API is to stop responding to /oic/res responses
when resources are registered with a resource directory.  Stopping all
multicast reception prevents ownership transfer from working.

Bug: https://jira.iotivity.org/browse/IOT-1906
Change-Id: I01e183b6f5a249a4d0e32baf14f542774a3ca0cb
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17633
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/csdk/stack/include/ocstack.h
resource/csdk/stack/src/ocresource.c
resource/csdk/stack/src/ocstack.c