diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-02-14 14:44:55 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-02-14 14:44:55 +0000 |
commit | 0fefeb11a3480158b2aef0b7edbc73accd604071 (patch) | |
tree | e3d689ea0eae894cbab1c52006909f7217ed44df /pjsip-apps | |
parent | 39f601dab4c54ead07b1d1c8ee59f7aebe6bc019 (diff) |
Still on ticket #101: set TLS port to TCP port + 1
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@948 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/src/pjsua/pjsua_app.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pjsip-apps/src/pjsua/pjsua_app.c b/pjsip-apps/src/pjsua/pjsua_app.c index 5b2d649d..5d9f6531 100644 --- a/pjsip-apps/src/pjsua/pjsua_app.c +++ b/pjsip-apps/src/pjsua/pjsua_app.c @@ -3046,11 +3046,11 @@ pj_status_t app_init(int argc, char *argv[]) pjsua_acc_id acc_id; /* Set TLS port as TCP port+1 */ - app_config.udp_cfg.port++; + tcp_cfg.port++; status = pjsua_transport_create(PJSIP_TRANSPORT_TLS, - &app_config.udp_cfg, + &tcp_cfg, &transport_id); - app_config.udp_cfg.port--; + tcp_cfg.port--; if (status != PJ_SUCCESS) goto on_error; |