summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/asr.c
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2013-03-30 20:00:08 +0000
committereric <eric@openbsd.org>2013-03-30 20:00:08 +0000
commit5d09e3abbd70de275119af6ecffb0185db4e280a (patch)
tree649ebc24efc2bdec97538c6828277250a9803ade /lib/libc/asr/asr.c
parentFix i2c_algo_dp_aux_exec() such that it handles all transactions needed by (diff)
downloadwireguard-openbsd-5d09e3abbd70de275119af6ecffb0185db4e280a.tar.xz
wireguard-openbsd-5d09e3abbd70de275119af6ecffb0185db4e280a.zip
Do not assume local nameserver if resolv.conf doesn't exist, just use
/etc/hosts. discussed with deraadt@
Diffstat (limited to 'lib/libc/asr/asr.c')
-rw-r--r--lib/libc/asr/asr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/asr/asr.c b/lib/libc/asr/asr.c
index 8d47653226c..ecf31322248 100644
--- a/lib/libc/asr/asr.c
+++ b/lib/libc/asr/asr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asr.c,v 1.16 2013/03/30 08:06:42 otto Exp $ */
+/* $OpenBSD: asr.c,v 1.17 2013/03/30 20:00:08 eric Exp $ */
/*
* Copyright (c) 2010-2012 Eric Faurot <eric@openbsd.org>
*
@@ -57,7 +57,7 @@
#define DEFAULT_CONFFILE "/etc/resolv.conf"
#define DEFAULT_HOSTFILE "/etc/hosts"
-#define DEFAULT_CONF "lookup bind file\nnameserver 127.0.0.1\n"
+#define DEFAULT_CONF "lookup file\n"
#define DEFAULT_LOOKUP "lookup bind file"
#define RELOAD_DELAY 15 /* seconds */