Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
a414896e
Commit
a414896e
authored
Jun 19, 2000
by
Michael Sawyer
Browse files
+ad/+noad option conflicting with +additional/+noadditional option
parent
593399a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/dig/dig.c
View file @
a414896e
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
* SOFTWARE.
* SOFTWARE.
*/
*/
/* $Id: dig.c,v 1.4
4
2000/06/1
6
1
7:59:5
9 mws Exp $ */
/* $Id: dig.c,v 1.4
5
2000/06/1
9
1
9:00:4
9 mws Exp $ */
#include <config.h>
#include <config.h>
...
@@ -165,8 +165,8 @@ show_usage(void) {
...
@@ -165,8 +165,8 @@ show_usage(void) {
" +[no]short (Disable everything except short
\n
"
" +[no]short (Disable everything except short
\n
"
" form of answer)
\n
"
" form of answer)
\n
"
" +qr (Print question before sending)
\n
"
" +qr (Print question before sending)
\n
"
" +[no]cd
(Set or clear CD flag in query)
\n
"
" +[no]cd
flag
(Set or clear CD flag in query)
\n
"
" +[no]ad
(Set or clear AD flag in query)
\n
"
" +[no]ad
flag
(Set or clear AD flag in query)
\n
"
" +[no]nssearch (Search all authorative nameservers)
\n
"
" +[no]nssearch (Search all authorative nameservers)
\n
"
" +[no]identify (ID responders in short answers)
\n
"
" +[no]identify (ID responders in short answers)
\n
"
" +[no]trace (Trace delegation down from root)
\n
"
" +[no]trace (Trace delegation down from root)
\n
"
...
@@ -668,12 +668,12 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
...
@@ -668,12 +668,12 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
lookup
->
aaonly
=
ISC_FALSE
;
lookup
->
aaonly
=
ISC_FALSE
;
else
else
aaonly
=
ISC_FALSE
;
aaonly
=
ISC_FALSE
;
}
else
if
(
strncmp
(
rv
[
0
],
"+ad"
,
3
)
==
0
)
{
}
else
if
(
strncmp
(
rv
[
0
],
"+ad
f
"
,
4
)
==
0
)
{
if
(
have_host
)
if
(
have_host
)
lookup
->
adflag
=
ISC_TRUE
;
lookup
->
adflag
=
ISC_TRUE
;
else
else
adflag
=
ISC_TRUE
;
adflag
=
ISC_TRUE
;
}
else
if
(
strncmp
(
rv
[
0
],
"+noad"
,
5
)
==
0
)
{
}
else
if
(
strncmp
(
rv
[
0
],
"+noad
f
"
,
6
)
==
0
)
{
if
(
have_host
)
if
(
have_host
)
lookup
->
adflag
=
ISC_FALSE
;
lookup
->
adflag
=
ISC_FALSE
;
else
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment