diff options
author | Sverker Eriksson <[email protected]> | 2019-04-09 16:30:50 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-04-09 16:56:09 +0200 |
commit | d293c3ff700c1a0992a32dc3da9ae18964893c23 (patch) | |
tree | fc5c83cb148b248f260387bd503f2f003de89067 /lib/kernel/src/erl_epmd.erl | |
parent | 440ef99ddcd3cddb5f8f7bd23ec282c8efe32bd3 (diff) | |
download | otp-d293c3ff700c1a0992a32dc3da9ae18964893c23.tar.gz otp-d293c3ff700c1a0992a32dc3da9ae18964893c23.tar.bz2 otp-d293c3ff700c1a0992a32dc3da9ae18964893c23.zip |
Revert "epmd: Support 32-bit creation values in local node"
This reverts commit bd8f6106d44a58c261920eef72842bb3bc5a4968.
PLUS a little change in epmd_srv.c:750 ("4" -> "replylen")
that was part of e2cf4a8a4b03b9f430ba228276c3b2629159e832
by mistake.
Diffstat (limited to 'lib/kernel/src/erl_epmd.erl')
-rw-r--r-- | lib/kernel/src/erl_epmd.erl | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/kernel/src/erl_epmd.erl b/lib/kernel/src/erl_epmd.erl index f31a1722ce..7a14e2635c 100644 --- a/lib/kernel/src/erl_epmd.erl +++ b/lib/kernel/src/erl_epmd.erl @@ -33,10 +33,10 @@ -define(erlang_daemon_port, 4369). -endif. -ifndef(epmd_dist_high). --define(epmd_dist_high, 6). +-define(epmd_dist_high, 4370). -endif. -ifndef(epmd_dist_low). --define(epmd_dist_low, 5). +-define(epmd_dist_low, 4370). -endif. %% External exports @@ -342,13 +342,6 @@ wait_for_reg_reply(Socket, SoFar) -> receive {tcp, Socket, Data0} -> case SoFar ++ Data0 of - [$v, Result, A, B, C, D] -> - case Result of - 0 -> - {alive, Socket, ?u32(A, B, C, D)}; - _ -> - {error, duplicate_name} - end; [$y, Result, A, B] -> case Result of 0 -> |