提交 c762af71 authored 作者: Stefan Knoblich's avatar Stefan Knoblich

Ouput a second line with tls_url and (TLS) in sofia status for tls enabled profiles

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7294 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 5607d762
...@@ -1260,6 +1260,12 @@ static switch_status_t cmd_status(char **argv, int argc, switch_stream_handle_t ...@@ -1260,6 +1260,12 @@ static switch_status_t cmd_status(char **argv, int argc, switch_stream_handle_t
} else { } else {
stream->write_function(stream, "%25s\t%s\t %32s\t%s (%u)\n", profile->name, "profile", profile->url, stream->write_function(stream, "%25s\t%s\t %32s\t%s (%u)\n", profile->name, "profile", profile->url,
sofia_test_pflag(profile, PFLAG_RUNNING) ? "RUNNING" : "DOWN", profile->inuse); sofia_test_pflag(profile, PFLAG_RUNNING) ? "RUNNING" : "DOWN", profile->inuse);
if (sofia_test_pflag(profile, PFLAG_TLS)) {
stream->write_function(stream, "%25s\t%s\t %32s\t%s (%u) (TLS)\n", profile->name, "profile", profile->tls_url,
sofia_test_pflag(profile, PFLAG_RUNNING) ? "RUNNING" : "DOWN", profile->inuse);
}
c++; c++;
for (gp = profile->gateways; gp; gp = gp->next) { for (gp = profile->gateways; gp; gp = gp->next) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论