mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-28 19:53:46 +00:00
Update utils.c
This commit is contained in:
@@ -268,6 +268,13 @@ ss_realloc(void *ptr, size_t new_size)
|
||||
return new;
|
||||
}
|
||||
|
||||
int
|
||||
ss_is_ipv6addr(const char *addr)
|
||||
{
|
||||
return strcmp(addr, ":") > 0;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
usage()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user