Naming #13809
This commit is contained in:
parent
09c546a1c8
commit
c9b2b7fb22
|
@ -252,7 +252,7 @@
|
|||
<% } %>
|
||||
<th>Bound to</th>
|
||||
<th>Port</th>
|
||||
<th>SSL</th>
|
||||
<th>TLS</th>
|
||||
</tr>
|
||||
<%
|
||||
for (var i = 0; i < overview.listeners.length; i++) {
|
||||
|
@ -265,7 +265,7 @@
|
|||
<% } %>
|
||||
<td><%= listener.ip_address %></td>
|
||||
<td><%= listener.port %></td>
|
||||
<td class="c"><%= fmt_boolean(listener.ssl || false) %></td>
|
||||
<td class="c"><%= fmt_boolean(listener.tls || false) %></td>
|
||||
</tr>
|
||||
<% } %>
|
||||
</table>
|
||||
|
|
|
@ -280,7 +280,7 @@ listener(#listener{node = Node, protocol = Protocol,
|
|||
{ip_address, ip(IPAddress)},
|
||||
{port, Port},
|
||||
{socket_opts, format_socket_opts(Opts)},
|
||||
{ssl, is_ssl_socket(Opts)}
|
||||
{tls, has_tls_enabled(Opts)}
|
||||
].
|
||||
|
||||
web_context(Props0) ->
|
||||
|
@ -288,7 +288,7 @@ web_context(Props0) ->
|
|||
Props = proplists:delete(ssl_opts, Props0),
|
||||
[{ssl_opts, format_socket_opts(SslOpts)} | Props].
|
||||
|
||||
is_ssl_socket(Opts) ->
|
||||
has_tls_enabled(Opts) ->
|
||||
S = proplists:get_value(socket_opts, Opts, Opts),
|
||||
(proplists:get_value(ssl_opts, S, undefined) =/= undefined) orelse
|
||||
(proplists:get_value(cacertfile, S, undefined) =/= undefined) orelse
|
||||
|
|
Loading…
Reference in New Issue