aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/connect
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2019-04-02 16:04:01 +0200
committerSverker Eriksson <[email protected]>2019-04-02 16:04:01 +0200
commit073e2c200aef1a125686f72a5ad73915b7522a68 (patch)
tree6138546c0b7a891811534f2b62c07333440fe9d4 /lib/erl_interface/src/connect
parentcfbe0f159d76dca3085fe2422f73f3e1fefefcfc (diff)
parentaef76b8e8bdce86e46e2267331b1b957f796653f (diff)
downloadotp-073e2c200aef1a125686f72a5ad73915b7522a68.tar.gz
otp-073e2c200aef1a125686f72a5ad73915b7522a68.tar.bz2
otp-073e2c200aef1a125686f72a5ad73915b7522a68.zip
Merge branch 'sverker/enable-big-creation/OTP-15603'
AGAIN * sverker/enable-big-creation/OTP-15603: erts: Document new EPMD response ALIVE2_X_RESP erl_interface: Support 32-bit creation local cnode jinterface: Remove old encoding of pid,port,refs
Diffstat (limited to 'lib/erl_interface/src/connect')
-rw-r--r--lib/erl_interface/src/connect/ei_connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/erl_interface/src/connect/ei_connect.c b/lib/erl_interface/src/connect/ei_connect.c
index 7a304e6d4f..be7a2a6b0e 100644
--- a/lib/erl_interface/src/connect/ei_connect.c
+++ b/lib/erl_interface/src/connect/ei_connect.c
@@ -659,7 +659,7 @@ int ei_connect_xinit_ussi(ei_cnode* ec, const char *thishostname,
return ERL_ERROR;
}
- ec->creation = creation & 0x3; /* 2 bits */
+ ec->creation = creation;
if (cookie) {
if (strlen(cookie) >= sizeof(ec->ei_connect_cookie)) {
@@ -698,7 +698,7 @@ int ei_connect_xinit_ussi(ei_cnode* ec, const char *thishostname,
strcpy(ec->self.node,thisnodename);
ec->self.num = 0;
ec->self.serial = 0;
- ec->self.creation = creation & 0x3; /* 2 bits */
+ ec->self.creation = creation;
ec->cbs = cbs;
ec->setup_context = setup_context;