Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
f1bb311e
Commit
f1bb311e
authored
Mar 15, 2011
by
Jelte Jansen
Browse files
[master] trivial fix in fake priming, needs Rcode set now, skipped review
parent
759761fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/resolver/main.cc
View file @
f1bb311e
...
...
@@ -30,6 +30,7 @@
#include
<exceptions/exceptions.h>
#include
<dns/buffer.h>
#include
<dns/rcode.h>
#include
<dns/message.h>
#include
<dns/messagerenderer.h>
...
...
@@ -180,6 +181,7 @@ main(int argc, char* argv[]) {
isc
::
dns
::
RRClass
::
IN
(),
"2001:500:3::42"
));
isc
::
dns
::
MessagePtr
priming_result
(
new
isc
::
dns
::
Message
(
isc
::
dns
::
Message
::
RENDER
));
priming_result
->
setRcode
(
isc
::
dns
::
Rcode
::
NOERROR
());
priming_result
->
addQuestion
(
root_question
);
priming_result
->
addRRset
(
isc
::
dns
::
Message
::
SECTION_ANSWER
,
root_ns_rrset
);
priming_result
->
addRRset
(
isc
::
dns
::
Message
::
SECTION_ADDITIONAL
,
root_a_rrset
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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