projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't try to call res_init() if ./configure told us it doesn't exist.
[oweals/tinc.git]
/
src
/
net_setup.c
diff --git
a/src/net_setup.c
b/src/net_setup.c
index 5a6eb72ae1117b82f700848254ed7e5e412e6f73..863616b72f9fe7902622bcb31c100ad1f997ffb5 100644
(file)
--- a/
src/net_setup.c
+++ b/
src/net_setup.c
@@
-813,7
+813,7
@@
static bool setup_myself(void) {
hint.ai_protocol = IPPROTO_TCP;
hint.ai_flags = AI_PASSIVE;
-#if
def
HAVE_DECL_RES_INIT
+#if HAVE_DECL_RES_INIT
// ensure glibc reloads /etc/resolv.conf.
res_init();
#endif