Skip to content

Commit 05fd6c1

Browse files
Merge pull request #1090 from GitHubPang/main
Fix incorrect RemotePort (cherry picked from commit f0b83d2)
1 parent 45b6d24 commit 05fd6c1

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
@@ -153,7 +153,7 @@ public EndPoint RemoteEndPoint
153153

154154
public int RemotePort
155155
{
156-
get { return ((IPEndPoint)LocalEndPoint).Port; }
156+
get { return ((IPEndPoint)RemoteEndPoint).Port; }
157157
}
158158

159159
public TimeSpan ReadTimeout

0 commit comments

Comments
 (0)