oc_endpoint: fix bug in oc_parse_ipv6_address
oc_endpoint: fix bug in oc_parse_ipv6_address

Change-Id: I24fade9ba1e91eb6ea21baceea7acadd4ebdd8b1
Signed-off-by: Kishen Maloor <c62ddea3cd661a9268bff15f07fc2229cdc9ac02@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/24735

iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained