Skip to content

Commit

Permalink
Escl: Fix airsane discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Aug 31, 2024
1 parent 1134436 commit f2bd5cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NAPS2.Escl/Client/EsclServiceLocator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private EsclService ParseService(ServiceInstanceDiscoveryEventArgs args)
int tlsPort = -1;
string? host = null;
var props = new Dictionary<string, string>();
foreach (var record in args.Message.AdditionalRecords)
foreach (var record in args.Message.Answers.Concat(args.Message.AdditionalRecords))
{
Logger.LogTrace("{Type} {Record}", record.GetType().Name, record);
if (record is ARecord a)
Expand Down

0 comments on commit f2bd5cd

Please sign in to comment.