git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67ef65a
)
util: fix build on platforms without IPv6 support
author
Björn Jacke
<bj@sernet.de>
Wed, 6 Jun 2012 19:37:46 +0000
(21:37 +0200)
committer
Bjoern Jacke
<bj@sernet.de>
Thu, 7 Jun 2012 01:09:49 +0000
(
03:09
+0200)
something like this on World IPv6 Day II ... ;-)
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Thu Jun 7 03:09:49 CEST 2012 on sn-devel-104
lib/util/util_net.c
patch
|
blob
|
history
diff --git
a/lib/util/util_net.c
b/lib/util/util_net.c
index 36b3fcbc4a6f2a3eb9d4dd7c365ae27dec87ed38..83afda4c78e95a060c93bf3233f982c00bf720c4 100644
(file)
--- 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, '%');