diff options
Diffstat (limited to 'src/Cedar/Connection.c')
-rw-r--r-- | src/Cedar/Connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Cedar/Connection.c b/src/Cedar/Connection.c index e7298ddd..c5c5ca3a 100644 --- a/src/Cedar/Connection.c +++ b/src/Cedar/Connection.c @@ -3571,6 +3571,7 @@ CONNECTION *NewServerConnection(CEDAR *cedar, SOCK *s, THREAD *t) {
AddRef(c->FirstSock->ref);
Copy(&c->ClientIp, &s->RemoteIP, sizeof(IP));
+ c->ClientPort = s->RemotePort;
StrCpy(c->ClientHostname, sizeof(c->ClientHostname), s->RemoteHostname);
}
c->Tcp = ZeroMalloc(sizeof(TCP));
|