Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
45c762f1
Commit
45c762f1
authored
Feb 16, 2012
by
JINMEI Tatuya
Browse files
[1584] trivial editorial fixes to meet the coding guidelines.
parent
77ceb438
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/bin/auth/query.cc
View file @
45c762f1
...
...
@@ -169,7 +169,7 @@ Query::addNXDOMAINProof(ZoneFinder& finder, ConstRRsetPtr nsec) {
void
Query
::
addWildcardProof
(
ZoneFinder
&
finder
,
const
ZoneFinder
::
FindResult
&
db_result
)
const
ZoneFinder
::
FindResult
&
db_result
)
{
// The query name shouldn't exist in the zone if there were no wildcard
// substitution. Confirm that by specifying NO_WILDCARD. It should result
...
...
@@ -195,7 +195,7 @@ Query::addWildcardProof(ZoneFinder& finder,
response_
.
addRRset
(
Message
::
SECTION_AUTHORITY
,
boost
::
const_pointer_cast
<
AbstractRRset
>
(
NSEC3Result
.
next_proof
),
dnssec_
);
const
Name
wname
=
const
Name
wname
=
qname_
.
split
(
qname_
.
getLabelCount
()
-
NSEC3Result
.
closest_labels
-
1
);
const
ZoneFinder
::
FindNSEC3Result
wresult
(
finder
.
findNSEC3
(
wname
,
false
));
...
...
src/bin/auth/query.h
View file @
45c762f1
...
...
@@ -106,8 +106,9 @@ private:
/// Add NSEC RRs that prove a wildcard answer is the best one.
///
/// This corresponds to Section 3.1.3.3 of RFC 4035.
void
addWildcardProof
(
isc
::
datasrc
::
ZoneFinder
&
finder
,
const
isc
::
datasrc
::
ZoneFinder
::
FindResult
&
dbResult
);
void
addWildcardProof
(
isc
::
datasrc
::
ZoneFinder
&
finder
,
const
isc
::
datasrc
::
ZoneFinder
::
FindResult
&
dbResult
);
/// \brief Adds one NSEC RR proved no matched QNAME,one NSEC RR proved no
/// matched <QNAME,QTYPE> through wildcard extension.
...
...
Write
Preview
Supports
Markdown
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