aboutsummaryrefslogtreecommitdiff
path: root/bin/dig/host.c
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2010-12-04 00:42:21 +0000
committerDoug Barton <dougb@FreeBSD.org>2010-12-04 00:42:21 +0000
commitf805c4c11684ad447d955512cb705ebc2aba9ef3 (patch)
treea2b1f0f7c5b10430273550cac18402eceb063664 /bin/dig/host.c
parent0f0e363281d939478823f6d05bcab56d901ead06 (diff)
downloadsrc-f805c4c11684ad447d955512cb705ebc2aba9ef3.tar.gz
src-f805c4c11684ad447d955512cb705ebc2aba9ef3.zip
Vendor import of BIND 9.6-ESV-R3vendor/bind9/9.6-ESV-R3
Notes
Notes: svn path=/vendor/bind9/dist/; revision=216169 svn path=/vendor/bind9/9.6-ESV-R3/; revision=216170; tag=vendor/bind9/9.6-ESV-R3
Diffstat (limited to 'bin/dig/host.c')
-rw-r--r--bin/dig/host.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/dig/host.c b/bin/dig/host.c
index 8cd5b3db29a8..1a7d174146bf 100644
--- a/bin/dig/host.c
+++ b/bin/dig/host.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: host.c,v 1.116.216.3 2009/09/08 23:28:20 marka Exp $ */
+/* $Id: host.c,v 1.116.216.3.10.2 2010/10/19 23:46:25 tbox Exp $ */
/*! \file */
@@ -625,7 +625,9 @@ pre_parse_args(int argc, char **argv) {
case 'v': break;
case 'w': break;
case 'C': break;
- case 'D': break;
+ case 'D':
+ debugging = ISC_TRUE;
+ break;
case 'N': break;
case 'R': break;
case 'T': break;
@@ -792,7 +794,7 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
ndots = atoi(isc_commandline_argument);
break;
case 'D':
- debugging = ISC_TRUE;
+ /* Handled by pre_parse_args(). */
break;
case '4':
if (have_ipv4) {