mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-03 13:33:26 +00:00
[pfcp] fix return value
Return value should be a pointer to sockaddr instead of status code.
This commit is contained in:
committed by
Sukchan Lee
parent
2e68706f1e
commit
49d2f76fe1
@@ -250,7 +250,7 @@ ogs_sockaddr_t *ogs_pfcp_node_id_to_addrinfo(const ogs_pfcp_node_id_t *node_id)
|
||||
/* Copy 16 bytes of IPv6 address */
|
||||
memcpy(&p->sin6.sin6_addr, node_id->addr6, 16);
|
||||
p->next = NULL;
|
||||
return OGS_OK;
|
||||
return p;
|
||||
|
||||
/*------------------------------------------------
|
||||
* 3) FQDN
|
||||
|
||||
Reference in New Issue
Block a user