summaryrefslogtreecommitdiff
path: root/lib/libc/asr/asr_debug.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2013-04-09 06:42:18 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2013-04-09 06:42:18 +0000
commitb45c46bfe2b1bc1e6550c455749c32f400fd4b4a (patch)
treee095f7fabe86391780d97f2aae961e170ed6bd94 /lib/libc/asr/asr_debug.c
parentc3ef9d355febc0313909f599acdeaf9e79cf5382 (diff)
show what we parsed in debug output; ok guether@
Diffstat (limited to 'lib/libc/asr/asr_debug.c')
-rw-r--r--lib/libc/asr/asr_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/asr/asr_debug.c b/lib/libc/asr/asr_debug.c
index eeed6a710f3..468c197134e 100644
--- a/lib/libc/asr/asr_debug.c
+++ b/lib/libc/asr/asr_debug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asr_debug.c,v 1.11 2013/04/01 15:49:54 deraadt Exp $ */
+/* $OpenBSD: asr_debug.c,v 1.12 2013/04/09 06:42:17 otto Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
*
@@ -293,7 +293,7 @@ asr_dump_config(FILE *f, struct asr *a)
fprintf(f, " ndots: %i\n", ac->ac_ndots);
fprintf(f, " family:");
for (i = 0; ac->ac_family[i] != -1; i++)
- fprintf(f, " %s", (ac->ac_family[i] == AF_INET)?"inet":"inet6");
+ fprintf(f, " %s", (ac->ac_family[i] == AF_INET)?"inet4":"inet6");
fprintf(f, "\n");
fprintf(f, "NAMESERVERS timeout=%i retry=%i\n",
ac->ac_nstimeout,