X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=service%2Feasy-setup%2Fmediator%2Frichsdk%2Fsrc%2FRemoteEnrollee.cpp;h=7434b41d27060df220cc6df4b03c18b90a36de80;hb=refs%2Fchanges%2F43%2F155143%2F1;hp=941239d537e3db51c47d1c78979063202ae6113a;hpb=30e3d37feb818d2d4f40e18358d9e26ae16fe2bd;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp b/service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp index 941239d..7434b41 100755 --- a/service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp +++ b/service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp @@ -185,8 +185,17 @@ namespace OIC ES_OK == status->getESResult() ) { // NOTE: Temporary patch - CAEndpoint_t endpoint = {.adapter = CA_ADAPTER_IP}; - + CAEndpoint_t endpoint = { + .adapter = CA_ADAPTER_IP, + .flags = CA_DEFAULT_FLAGS, + .port = 0, + .addr = {0}, + .ifindex = 0, + .remoteId = {0}, +#if defined (ROUTING_GATEWAY) || defined (ROUTING_EP) + .routeData = {0} +#endif + }; OCDevAddr address = m_ocResource->getDevAddr(); OICStrcpy(endpoint.addr, MAX_ADDR_STR_SIZE, address.addr); endpoint.port = address.port;