Adjusted function call parameters for hwaddr to str.
FossilOrigin-Name: 0d99ca9db8cdc6a1528ac4c9f90c7c5c36fc3feee38fee7bd633473f8f2ca357
This commit is contained in:
parent
6a98d7686f
commit
a544c22e18
@ -64,7 +64,7 @@ char *sock_addrtostr(const struct sockaddr *sa, char *s, size_t maxlen)
|
|||||||
case AF_LINK:
|
case AF_LINK:
|
||||||
{
|
{
|
||||||
struct sockaddr_dl *sl=(struct sockaddr_dl*)sa;
|
struct sockaddr_dl *sl=(struct sockaddr_dl*)sa;
|
||||||
sock_hwaddrtostr(((uint8_t*)sl->sdl_data)+sl->sdl_nlen,sl->sdl_alen,s);
|
sock_hwaddrtostr(((uint8_t*)sl->sdl_data)+sl->sdl_nlen,sl->sdl_alen,s,":");
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user