aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-04-07 20:38:55 +0200
committerSverker Eriksson <[email protected]>2016-04-07 20:38:55 +0200
commite4b8b9be39601b1c79dfd5d8e807ae4c404b6935 (patch)
tree7c6988f656aee95f639ac8a6293328b333f1f3d2 /lib/kernel
parent539ce190ba8f8842c24b17f3257c44cd850d7e01 (diff)
downloadotp-e4b8b9be39601b1c79dfd5d8e807ae4c404b6935.tar.gz
otp-e4b8b9be39601b1c79dfd5d8e807ae4c404b6935.tar.bz2
otp-e4b8b9be39601b1c79dfd5d8e807ae4c404b6935.zip
erts: Add DFLAG_BIG_CREATION
to let future nodes know that we can handle NEW_PID_EXT, NEW_PORT_EXT and NEWER_REFERENCE_EXT.
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/include/dist.hrl1
-rw-r--r--lib/kernel/src/dist_util.erl3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/kernel/include/dist.hrl b/lib/kernel/include/dist.hrl
index 47d9459a19..412ea58e65 100644
--- a/lib/kernel/include/dist.hrl
+++ b/lib/kernel/include/dist.hrl
@@ -39,3 +39,4 @@
-define(DFLAG_SMALL_ATOM_TAGS, 16#4000).
-define(DFLAG_UTF8_ATOMS, 16#10000).
-define(DFLAG_MAP_TAG, 16#20000).
+-define(DFLAG_BIG_CREATION, 16#40000).
diff --git a/lib/kernel/src/dist_util.erl b/lib/kernel/src/dist_util.erl
index e3817fcce5..36b9a22493 100644
--- a/lib/kernel/src/dist_util.erl
+++ b/lib/kernel/src/dist_util.erl
@@ -118,7 +118,8 @@ make_this_flags(RequestType, OtherNode) ->
?DFLAG_DIST_HDR_ATOM_CACHE bor
?DFLAG_SMALL_ATOM_TAGS bor
?DFLAG_UTF8_ATOMS bor
- ?DFLAG_MAP_TAG).
+ ?DFLAG_MAP_TAG bor
+ ?DFLAG_BIG_CREATION).
handshake_other_started(#hs_data{request_type=ReqType}=HSData0) ->
{PreOtherFlags,Node,Version} = recv_name(HSData0),