From aed17cca1419aca96201390559554fb53a358374 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sat, 6 Aug 2011 22:28:31 +0200 Subject: [PATCH] Initialize show_all_dns_entries to false. --- src/ChangeLog | 2 ++ src/init.c | 1 + 2 files changed, 3 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index c96da022..1b42b020 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-08-06 Giuseppe Scrivano + * init.c (defaults): Set default value for show_all_dns_entries. + * host.c (lookup_host): If `showalldnsentries' is used then print all the IP corresponding to a DNS entry. * init.c (commands): Add `showalldnsentries'. diff --git a/src/init.c b/src/init.c index 8f44cdb4..dca24a9f 100644 --- a/src/init.c +++ b/src/init.c @@ -360,6 +360,7 @@ defaults (void) opt.encoding_remote = NULL; opt.useservertimestamps = true; + opt.show_all_dns_entries = false; } /* Return the user's home directory (strdup-ed), or NULL if none is -- 2.39.2