Merge pull request #390 from neuroscr/issue324

additional macos DNS fixes
This commit is contained in:
Ryan Tharp 2019-03-08 17:22:03 -08:00 committed by GitHub
commit c94a9cba38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,7 @@ namespace llarp
{
if(questions.size())
{
hdr_fields |= flags_QR | flags_AA;
hdr_fields |= flags_QR | flags_AA | flags_RA;
const auto& question = questions[0];
ResourceRecord rec;
rec.rr_name = question.qname;
@ -175,7 +175,7 @@ namespace llarp
{
if(questions.size())
{
hdr_fields |= flags_QR | flags_AA;
hdr_fields |= flags_QR | flags_AA | flags_RA;
const auto& question = questions[0];
answers.emplace_back();
auto& rec = answers.back();