mirror of https://gerrit.osmocom.org/libosmocore
sync prototype of osmo_sockaddr_is_local with declaration
in e476442cf0
we changed from sockle_t
to unsigned int, but only in the header, not in the implementation!
This commit is contained in:
parent
00a12feae6
commit
bc32d051bf
|
@ -225,7 +225,7 @@ static int sockaddr_equal(const struct sockaddr *a,
|
|||
* \param[in] addrlen Length of socket address in bytes
|
||||
* \returns 1 if address is local, 0 otherwise.
|
||||
*/
|
||||
int osmo_sockaddr_is_local(struct sockaddr *addr, socklen_t addrlen)
|
||||
int osmo_sockaddr_is_local(struct sockaddr *addr, unsigned int addrlen)
|
||||
{
|
||||
struct ifaddrs *ifaddr, *ifa;
|
||||
|
||||
|
|
Loading…
Reference in New Issue