Skip to content

Commit fcd12e1

Browse files
author
Bianco Veigel
committed
explicitly set IPv4 if DualMode was disabled (netcoreapp3.0 defaults to DualMode=true)
1 parent dae9d7a commit fcd12e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Graphite/Graphite.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<RootNamespace>ahd.Graphite</RootNamespace>
66
<AssemblyName>ahd.Graphite</AssemblyName>
77
<Title>Graphite client</Title>
8-
<Version>2.1.0</Version>
8+
<Version>2.1.1</Version>
99
<Authors>ahd GmbH &amp; Co. KG</Authors>
1010
<Company>ahd GmbH &amp; Co. KG</Company>
1111
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>

Graphite/GraphiteClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ private async Task SendInternalAsync(ICollection<Datapoint> datapoints, Cancella
166166
}
167167
else
168168
{
169-
client = new TcpClient();
169+
client = new TcpClient(AddressFamily.InterNetwork);
170170
}
171171
using (client)
172172
{

0 commit comments

Comments
 (0)