diff options
author | 2015-05-26 19:28:57 +0000 | |
---|---|---|
committer | 2015-05-26 19:28:57 +0000 | |
commit | d2d7f9c9347db0370dc77f3195becbfc263c6f44 (patch) | |
tree | 9de8d739d3ed0ea92d5e46e114bec4c41b5b0804 /lib/libc/asr/asr.c | |
parent | Fix missing vlan.h include in if_vio.c (diff) | |
download | wireguard-openbsd-d2d7f9c9347db0370dc77f3195becbfc263c6f44.tar.xz wireguard-openbsd-d2d7f9c9347db0370dc77f3195becbfc263c6f44.zip |
simply use _PATH_HOSTS where appropriate
Diffstat (limited to 'lib/libc/asr/asr.c')
-rw-r--r-- | lib/libc/asr/asr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/asr/asr.c b/lib/libc/asr/asr.c index 65ad511c975..09d8172c25b 100644 --- a/lib/libc/asr/asr.c +++ b/lib/libc/asr/asr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asr.c,v 1.35 2015/01/16 16:48:51 deraadt Exp $ */ +/* $OpenBSD: asr.c,v 1.36 2015/05/26 19:28:57 eric Exp $ */ /* * Copyright (c) 2010-2012 Eric Faurot <eric@openbsd.org> * @@ -58,7 +58,6 @@ #endif #define DEFAULT_CONFFILE "/etc/resolv.conf" -#define DEFAULT_HOSTFILE "/etc/hosts" #define DEFAULT_CONF "lookup file\n" #define DEFAULT_LOOKUP "lookup bind file" @@ -523,8 +522,6 @@ asr_ctx_create(void) ac->ac_family[1] = AF_INET6; ac->ac_family[2] = -1; - ac->ac_hostfile = DEFAULT_HOSTFILE; - ac->ac_nscount = 0; ac->ac_nstimeout = 5; ac->ac_nsretries = 4; |