aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_acceptor_sup.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-03-21 15:44:44 +0100
committerHans Nilsson <[email protected]>2017-04-07 10:23:33 +0200
commit57d994270d63e7a9ce80eece3c1c3aeca79d3ea4 (patch)
tree99a7aa83a5366ca80ea144bc6fded3eba0a8e5e9 /lib/ssh/src/ssh_acceptor_sup.erl
parent90aacace4bdb1c883c3829bc66c1c616a81943d9 (diff)
downloadotp-57d994270d63e7a9ce80eece3c1c3aeca79d3ea4.tar.gz
otp-57d994270d63e7a9ce80eece3c1c3aeca79d3ea4.tar.bz2
otp-57d994270d63e7a9ce80eece3c1c3aeca79d3ea4.zip
ssh: fix ssh_system_sup naming of Host-Port-Profile
Diffstat (limited to 'lib/ssh/src/ssh_acceptor_sup.erl')
-rw-r--r--lib/ssh/src/ssh_acceptor_sup.erl7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/ssh/src/ssh_acceptor_sup.erl b/lib/ssh/src/ssh_acceptor_sup.erl
index 77f7826918..613d8fbc75 100644
--- a/lib/ssh/src/ssh_acceptor_sup.erl
+++ b/lib/ssh/src/ssh_acceptor_sup.erl
@@ -93,10 +93,5 @@ child_spec(Options) ->
{Name, StartFunc, Restart, Shutdown, Type, Modules}.
id(Address, Port, Profile) ->
- case is_list(Address) of
- true ->
- {ssh_acceptor_sup, any, Port, Profile};
- false ->
- {ssh_acceptor_sup, Address, Port, Profile}
- end.
+ {ssh_acceptor_sup, Address, Port, Profile}.