aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_tls_dist_proxy.erl
diff options
context:
space:
mode:
authorPeter Lemenkov <[email protected]>2016-07-14 17:51:16 +0300
committerPeter Lemenkov <[email protected]>2016-07-17 16:12:46 +0300
commit84549af1c996657aedee1263afec28b21bfa42a4 (patch)
treed420ace805b7297bddcb99833c321b32761e61fb /lib/ssl/src/ssl_tls_dist_proxy.erl
parentb67da3610ace6d4e998bdfb458343165e205fae8 (diff)
downloadotp-84549af1c996657aedee1263afec28b21bfa42a4.tar.gz
otp-84549af1c996657aedee1263afec28b21bfa42a4.tar.bz2
otp-84549af1c996657aedee1263afec28b21bfa42a4.zip
Respect -proto_dist switch while connection to EPMD
Signed-off-by: Peter Lemenkov <[email protected]>
Diffstat (limited to 'lib/ssl/src/ssl_tls_dist_proxy.erl')
-rw-r--r--lib/ssl/src/ssl_tls_dist_proxy.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_tls_dist_proxy.erl b/lib/ssl/src/ssl_tls_dist_proxy.erl
index a920f54ed2..08947f24dd 100644
--- a/lib/ssl/src/ssl_tls_dist_proxy.erl
+++ b/lib/ssl/src/ssl_tls_dist_proxy.erl
@@ -117,7 +117,7 @@ handle_call({listen, Driver, Name}, _From, State) ->
{ok, WorldTcpAddress} = get_tcp_address(World),
{_,Port} = WorldTcpAddress#net_address.address,
ErlEpmd = net_kernel:epmd_module(),
- case ErlEpmd:register_node(Name, Port) of
+ case ErlEpmd:register_node(Name, Port, Driver) of
{ok, Creation} ->
{reply, {ok, {Socket, TcpAddress, Creation}},
State#state{listen={Socket, World}}};