aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/connect/ei_connect.c
diff options
context:
space:
mode:
authorVitaliy Batichko <[email protected]>2010-11-29 20:42:28 +0200
committerVitaliy Batichko <[email protected]>2010-12-10 17:32:02 +0200
commit7992d6a6bfa0f460f8663c2d72d07b60755a4857 (patch)
treead9ff808f00832c32ea84f8a447a8e106a99f3e5 /lib/erl_interface/src/connect/ei_connect.c
parent95392e693e210189df82173c9bcd345b58b004fe (diff)
downloadotp-7992d6a6bfa0f460f8663c2d72d07b60755a4857.tar.gz
otp-7992d6a6bfa0f460f8663c2d72d07b60755a4857.tar.bz2
otp-7992d6a6bfa0f460f8663c2d72d07b60755a4857.zip
Correct erl_global{register, unregister} functions
C node needs DFLAG_DIST_MONITOR flag set when connecting, and support for processing monitoring start/end messages received from counterpart, to make global registration actually work.
Diffstat (limited to 'lib/erl_interface/src/connect/ei_connect.c')
-rw-r--r--lib/erl_interface/src/connect/ei_connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/erl_interface/src/connect/ei_connect.c b/lib/erl_interface/src/connect/ei_connect.c
index 99ccba0686..10824c8a5f 100644
--- a/lib/erl_interface/src/connect/ei_connect.c
+++ b/lib/erl_interface/src/connect/ei_connect.c
@@ -1329,6 +1329,7 @@ static int send_name_or_challenge(int fd, char *nodename,
put8(s, 'n');
put16be(s, version);
put32be(s, (DFLAG_EXTENDED_REFERENCES
+ | DFLAG_DIST_MONITOR
| DFLAG_EXTENDED_PIDS_PORTS
| DFLAG_FUN_TAGS
| DFLAG_NEW_FUN_TAGS