diff options
author | Sverker Eriksson <[email protected]> | 2019-04-09 16:29:03 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-04-09 16:29:03 +0200 |
commit | f824686c3c519ab00582bb1f854fdfda5e4b1240 (patch) | |
tree | 5ebfea906cf5105fa20924fde1bb0320551a8103 /lib/erl_interface/src/connect | |
parent | bf6110a9de0fbfc34754ee1aac325e9b1df2b095 (diff) | |
download | otp-f824686c3c519ab00582bb1f854fdfda5e4b1240.tar.gz otp-f824686c3c519ab00582bb1f854fdfda5e4b1240.tar.bz2 otp-f824686c3c519ab00582bb1f854fdfda5e4b1240.zip |
Revert "erl_interface: Support 32-bit creation local cnode"
This reverts commit 6454221ad87d1cd8fc877b424db3c4a8e9835577.
Diffstat (limited to 'lib/erl_interface/src/connect')
-rw-r--r-- | lib/erl_interface/src/connect/ei_connect.c | 4 |
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 be7a2a6b0e..7a304e6d4f 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; + ec->creation = creation & 0x3; /* 2 bits */ 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; + ec->self.creation = creation & 0x3; /* 2 bits */ ec->cbs = cbs; ec->setup_context = setup_context; |