projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: stop checking for AI_ADDRCONFIG
[collectd.git]
/
src
/
write_graphite.c
diff --git
a/src/write_graphite.c
b/src/write_graphite.c
index
25c7a63
..
a22a236
100644
(file)
--- a/
src/write_graphite.c
+++ b/
src/write_graphite.c
@@
-211,9
+211,7
@@
static int wg_callback_init (struct wg_callback *cb)
return (EAGAIN);
cb->last_connect_time = now;
-#ifdef AI_ADDRCONFIG
- ai_hints.ai_flags |= AI_ADDRCONFIG;
-#endif
+ ai_hints.ai_flags = AI_ADDRCONFIG;
ai_hints.ai_family = AF_UNSPEC;
if (0 == strcasecmp ("tcp", cb->protocol))