Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
580
Issues
580
List
Boards
Labels
Service Desk
Milestones
Merge Requests
111
Merge Requests
111
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
a36f8934
Commit
a36f8934
authored
Apr 18, 2018
by
Mukund Sivaraman
Committed by
Ondřej Surý
Apr 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove bogus comparison
(cherry picked from commit
89cf5038
)
parent
7c830940
Pipeline
#1326
passed with stages
in 9 minutes and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
11 deletions
+14
-11
CHANGES
CHANGES
+3
-0
bin/dig/nslookup.c
bin/dig/nslookup.c
+11
-11
No files found.
CHANGES
View file @
a36f8934
4930. [bug] Remove a bogus check in nslookup command line
argument processing. [GL #206]
4922. [bug] dnstap: Log the destination address of client
packets rather than the interface address.
[GL #197]
...
...
bin/dig/nslookup.c
View file @
a36f8934
...
...
@@ -709,31 +709,31 @@ setoption(char *opt) {
usesearch
=
ISC_TRUE
;
}
else
if
(
CHECKOPT
(
"nodefname"
,
5
))
{
usesearch
=
ISC_FALSE
;
}
else
if
(
CHECKOPT
(
"vc"
,
2
)
==
0
)
{
}
else
if
(
CHECKOPT
(
"vc"
,
2
))
{
tcpmode
=
ISC_TRUE
;
tcpmode_set
=
ISC_TRUE
;
}
else
if
(
CHECKOPT
(
"novc"
,
4
)
==
0
)
{
}
else
if
(
CHECKOPT
(
"novc"
,
4
))
{
tcpmode
=
ISC_FALSE
;
tcpmode_set
=
ISC_TRUE
;
}
else
if
(
CHECKOPT
(
"debug"
,
3
)
==
0
)
{
}
else
if
(
CHECKOPT
(
"debug"
,
3
))
{
short_form
=
ISC_FALSE
;
showsearch
=
ISC_TRUE
;
}
else
if
(
CHECKOPT
(
"nodebug"
,
5
)
==
0
)
{
}
else
if
(
CHECKOPT
(
"nodebug"
,
5
))
{
short_form
=
ISC_TRUE
;
showsearch
=
ISC_FALSE
;
}
else
if
(
CHECKOPT
(
"d2"
,
2
)
==
0
)
{
}
else
if
(
CHECKOPT
(
"d2"
,
2
))
{
debugging
=
ISC_TRUE
;
}
else
if
(
CHECKOPT
(
"nod2"
,
4
)
==
0
)
{
}
else
if
(
CHECKOPT
(
"nod2"
,
4
))
{
debugging
=
ISC_FALSE
;
}
else
if
(
CHECKOPT
(
"search"
,
3
)
==
0
)
{
}
else
if
(
CHECKOPT
(
"search"
,
3
))
{
usesearch
=
ISC_TRUE
;
}
else
if
(
CHECKOPT
(
"nosearch"
,
5
)
==
0
)
{
}
else
if
(
CHECKOPT
(
"nosearch"
,
5
))
{
usesearch
=
ISC_FALSE
;
}
else
if
(
CHECKOPT
(
"sil"
,
3
)
==
0
)
{
}
else
if
(
CHECKOPT
(
"sil"
,
3
))
{
/* deprecation_msg = ISC_FALSE; */
}
else
if
(
CHECKOPT
(
"fail"
,
3
)
==
0
)
{
}
else
if
(
CHECKOPT
(
"fail"
,
3
))
{
nofail
=
ISC_FALSE
;
}
else
if
(
CHECKOPT
(
"nofail"
,
5
)
==
0
)
{
}
else
if
(
CHECKOPT
(
"nofail"
,
5
))
{
nofail
=
ISC_TRUE
;
}
else
if
(
strncasecmp
(
opt
,
"ndots="
,
6
)
==
0
)
{
set_ndots
(
&
opt
[
6
]);
...
...
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