Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Dnsmasq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
nanahira
Dnsmasq
Commits
ec0628c4
Commit
ec0628c4
authored
Dec 31, 2015
by
Simon Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trivial code tweak.
parent
97b1d257
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/dnssec.c
src/dnssec.c
+4
-4
No files found.
src/dnssec.c
View file @
ec0628c4
...
@@ -1599,12 +1599,12 @@ static int check_nsec3_coverage(struct dns_header *header, size_t plen, int dige
...
@@ -1599,12 +1599,12 @@ static int check_nsec3_coverage(struct dns_header *header, size_t plen, int dige
if
(
!
CHECK_LEN
(
header
,
p
,
plen
,
rdlen
))
if
(
!
CHECK_LEN
(
header
,
p
,
plen
,
rdlen
))
return
0
;
return
0
;
/* If we can prove that there's no NS record, return that information. */
if
(
nons
&&
rdlen
>=
2
&&
p
[
0
]
==
0
&&
(
p
[
2
]
&
(
0x80
>>
T_NS
))
!=
0
)
*
nons
=
0
;
if
(
rdlen
>=
2
&&
p
[
0
]
==
0
)
if
(
rdlen
>=
2
&&
p
[
0
]
==
0
)
{
{
/* If we can prove that there's no NS record, return that information. */
if
(
nons
&&
(
p
[
2
]
&
(
0x80
>>
T_NS
))
!=
0
)
*
nons
=
0
;
/* A CNAME answer would also be valid, so if there's a CNAME is should
/* A CNAME answer would also be valid, so if there's a CNAME is should
have been returned. */
have been returned. */
if
((
p
[
2
]
&
(
0x80
>>
T_CNAME
))
!=
0
)
if
((
p
[
2
]
&
(
0x80
>>
T_CNAME
))
!=
0
)
...
...
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