diff options
author | José Valim <[email protected]> | 2019-04-29 17:54:18 +0200 |
---|---|---|
committer | José Valim <[email protected]> | 2019-04-29 17:56:44 +0200 |
commit | 6944df6e540d57f5ddf04e01d44d3aefd9c4720d (patch) | |
tree | 8cb7b2e072a403c8ef42acf3bd165bdf5eee7f63 /lib/ssl/src/dtls_socket.erl | |
parent | 2f879097241d289e0100c7d1725485e2276a7f70 (diff) | |
download | otp-6944df6e540d57f5ddf04e01d44d3aefd9c4720d.tar.gz otp-6944df6e540d57f5ddf04e01d44d3aefd9c4720d.tar.bz2 otp-6944df6e540d57f5ddf04e01d44d3aefd9c4720d.zip |
Add hostname to -remsh if none is given
The -name option already computes a default
hostname if none is given. This PR adds the
same behaviour to -remsh. Now we can run:
erl -name foo -remsh bar
erl -sname foo -remsh bar
This simplifies deployment scripts as otherwise
they have to compute the hostname by hand or
start an Erlang VM instance only to do so.
Diffstat (limited to 'lib/ssl/src/dtls_socket.erl')
0 files changed, 0 insertions, 0 deletions