projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: Use AF_UNSPEC consistently
[collectd.git]
/
src
/
mbmon.c
diff --git
a/src/mbmon.c
b/src/mbmon.c
index
1f0a0d6
..
5f398d0
100644
(file)
--- a/
src/mbmon.c
+++ b/
src/mbmon.c
@@
-96,7
+96,7
@@
static int mbmon_query_daemon (char *buffer, int buffer_size)
port = MBMON_DEF_PORT;
struct addrinfo ai_hints = {
- .ai_family =
P
F_UNSPEC,
+ .ai_family =
A
F_UNSPEC,
.ai_flags = AI_ADDRCONFIG,
.ai_protocol = IPPROTO_TCP,
.ai_socktype = SOCK_STREAM