From 15cebf38c173db0d255010528eaff11e8aa4f258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= Date: Wed, 6 Jun 2012 21:37:46 +0200 Subject: util: fix build on platforms without IPv6 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit something like this on World IPv6 Day II ... ;-) Autobuild-User(master): Björn Jacke Autobuild-Date(master): Thu Jun 7 03:09:49 CEST 2012 on sn-devel-104 --- lib/util/util_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util') diff --git a/lib/util/util_net.c b/lib/util/util_net.c index 36b3fcbc4a6..83afda4c78e 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, '%'); -- cgit v1.2.1