diff options
author | 2013-04-09 06:42:17 +0000 | |
---|---|---|
committer | 2013-04-09 06:42:17 +0000 | |
commit | 6a166a79547d4ac23af2945a155f7a96038f25e8 (patch) | |
tree | 5380d05f1852fd843e3b638954e821cf96895e7a /lib/libc/asr/asr_debug.c | |
parent | knf. even old ttys need love. (diff) | |
download | wireguard-openbsd-6a166a79547d4ac23af2945a155f7a96038f25e8.tar.xz wireguard-openbsd-6a166a79547d4ac23af2945a155f7a96038f25e8.zip |
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.c | 4 |
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, |