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
This commit is contained in:
parent
5607d762d7
commit
c762af71b7
|
@ -1260,6 +1260,12 @@ static switch_status_t cmd_status(char **argv, int argc, switch_stream_handle_t
|
|||
} else {
|
||||
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);
|
||||
|
||||
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++;
|
||||
|
||||
for (gp = profile->gateways; gp; gp = gp->next) {
|
||||
|
|
Loading…
Reference in New Issue