summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util/util_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/util_net.c b/lib/util/util_net.c
index 36b3fcbc4a..83afda4c78 100644
--- a/lib/util/util_net.c
+++ b/lib/util/util_net.c
@@ -93,10 +93,10 @@ static bool interpret_string_addr_pref(struct sockaddr_storage *pss,
bool prefer_ipv4)
{
struct addrinfo *res = NULL;
+ int int_flags;
#if defined(HAVE_IPV6)
char addr[INET6_ADDRSTRLEN];
unsigned int scope_id = 0;
- int int_flags;
if (strchr_m(str, ':')) {
char *p = strchr_m(str, '%');