Skip to content

Commit f0b83d2

Browse files
Merge pull request #1090 from GitHubPang/main
Fix incorrect RemotePort
2 parents 5ab37c7 + 71b1e20 commit f0b83d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/RabbitMQ.Client/client/impl/SocketFrameHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public EndPoint RemoteEndPoint
165165

166166
public int RemotePort
167167
{
168-
get { return ((IPEndPoint)LocalEndPoint).Port; }
168+
get { return ((IPEndPoint)RemoteEndPoint).Port; }
169169
}
170170

171171
public TimeSpan ReadTimeout

0 commit comments

Comments
 (0)