Skip to content

Commit

Permalink
fix(ServiceDiscovery): AnswersContainsAdditionalRecords
Browse files Browse the repository at this point in the history
When AnswersContainsAdditionalRecords is true, add the additional records to
the answers section and then clear the additional records section.
  • Loading branch information
richardschneider committed Jun 9, 2019
1 parent d9b2ea0 commit 170c088
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ServiceDiscovery.cs
Expand Up @@ -325,6 +325,7 @@ void OnQuery(object sender, MessageEventArgs e)
if (AnswersContainsAdditionalRecords)
{
response.Answers.AddRange(response.AdditionalRecords);
response.AdditionalRecords.Clear();
}

if (QU)
Expand Down

0 comments on commit 170c088

Please sign in to comment.