sockaddr2str is now sock_addr2str
FossilOrigin-Name: ea765ae39eb6420c019c15e793826912e9d2b83b63f9522d49a61a494fb40836
This commit is contained in:
parent
f6d3886a6c
commit
50616ef72a
@ -56,9 +56,9 @@ extern int sock_set_dontfrag(int sock,int val);
|
||||
|
||||
extern char * sock_get_primary_if(int family);
|
||||
|
||||
#define sockaddr2str(s) ( sock_addrtostr( (struct sockaddr*)s, (char[64]){0}, 64 ) )
|
||||
#define hwaddr2str(s,l) ( sock_hwaddrtostr( s,l, (char[64]){0}, ":" ) )
|
||||
#define hwaddr2idstr(s,l) ( sock_hwaddrtostr( s,l, (char[64]){0}, "" ) )
|
||||
#define sock_addr2str(s) ( sock_addrtostr( (struct sockaddr*)s, (char[64]){0}, 64 ) )
|
||||
#define sock_hwaddr2str(s,l) ( sock_hwaddrtostr( s,l, (char[64]){0}, ":" ) )
|
||||
#define sock_hwaddr2idstr(s,l) ( sock_hwaddrtostr( s,l, (char[64]){0}, "" ) )
|
||||
|
||||
|
||||
//#define CLIENT_IP (sock_addrtostr((struct sockaddr*)&wtpman->conn->addr, (char[64]){0},64))
|
||||
|
Loading…
Reference in New Issue
Block a user