diff --git a/src/utils.c b/src/utils.c index ee01e0fd..8fe9b84e 100644 --- a/src/utils.c +++ b/src/utils.c @@ -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() {