Commit c0387191 authored by Kishen Maloor's avatar Kishen Maloor

Ignore ACCEPTED flag in oc_endpoint_compare()

Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
parent 750c2094
Pipeline #1305 passed with stage
in 5 minutes and 52 seconds
......@@ -584,7 +584,8 @@ oc_endpoint_compare(const oc_endpoint_t *ep1, const oc_endpoint_t *ep2)
if (!ep1 || !ep2)
return -1;
if ((ep1->flags & ~MULTICAST) != (ep2->flags & ~MULTICAST) ||
if ((ep1->flags & ~(MULTICAST | ACCEPTED)) !=
(ep2->flags & ~(MULTICAST | ACCEPTED)) ||
ep1->device != ep2->device) {
return -1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment