summaryrefslogtreecommitdiff
path: root/src/modules/m_jumpserver.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-02-15 10:58:43 +0000
committerPeter Powell <petpow@saberuk.com>2019-02-15 11:35:25 +0000
commita7fc2fe0dc845ffba1f4575e694aa1bb7f60756b (patch)
tree3d8c861e33e8b9ffe3cbd78a522a4e85fd914ec7 /src/modules/m_jumpserver.cpp
parent168ee804903e5ee10edc04e870e36a1256885e34 (diff)
Replace GetServerPort() with server_sa.port().
Diffstat (limited to 'src/modules/m_jumpserver.cpp')
-rw-r--r--src/modules/m_jumpserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_jumpserver.cpp b/src/modules/m_jumpserver.cpp
index 02950e0e9..80b0a84ab 100644
--- a/src/modules/m_jumpserver.cpp
+++ b/src/modules/m_jumpserver.cpp
@@ -151,7 +151,7 @@ class CommandJumpserver : public Command
{
int p = (sslapi && sslapi->GetCertificate(user) ? sslport : port);
if (p == 0)
- p = user->GetServerPort();
+ p = user->server_sa.port();
return p;
}
};