Skip to content

Commit 2f56b08

Browse files
committed
clarify the address family to use
1 parent c97fb30 commit 2f56b08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Smdn.Net.MuninNode/Smdn.Net.MuninNode/NodeBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private static TcpClient CreateClient(
7878
out StreamReader reader
7979
)
8080
{
81-
var client = new TcpClient();
81+
var client = new TcpClient(endPoint.AddressFamily);
8282

8383
client.Connect(endPoint);
8484

0 commit comments

Comments
 (0)