Skip to content

Commit

Permalink
Troubleshoot git network issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jdomnitz committed Nov 17, 2024
1 parent 45b6f63 commit c6b0aee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/ServiceDiscoveryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ public void Discover_AllServices_Unicast()
var mdns = new MulticastService();
var sd = new ServiceDiscovery(mdns);

MulticastService.IncludeLoopbackInterfaces = true;
mdns.NetworkInterfaceDiscovered += (s, e) => sd.QueryUnicastAllServices();
sd.ServiceDiscovered += (s, serviceName) =>
{
Expand All @@ -319,6 +320,7 @@ public void Discover_AllServices_Unicast()
{
sd.Dispose();
mdns.Stop();
MulticastService.IncludeLoopbackInterfaces = false;
}
}

Expand Down

0 comments on commit c6b0aee

Please sign in to comment.