aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-08-27 14:50:02 +0200
committerPatrik Nyblom <[email protected]>2010-08-31 15:42:52 +0200
commitd4b6817a2785d9ce026de40dadcc948e22afffe9 (patch)
tree7f606f0432b8519f6e3868976dc7a7583be24d0e /erts
parentb35b4eeb6f0cb25c3c5b5e785939fb829f77ef6a (diff)
downloadotp-d4b6817a2785d9ce026de40dadcc948e22afffe9.tar.gz
otp-d4b6817a2785d9ce026de40dadcc948e22afffe9.tar.bz2
otp-d4b6817a2785d9ce026de40dadcc948e22afffe9.zip
Calculate minimal packet size for ALIVE2 requests correctly
Diffstat (limited to 'erts')
-rw-r--r--erts/epmd/src/epmd_srv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/epmd/src/epmd_srv.c b/erts/epmd/src/epmd_srv.c
index 3ba8a93fbd..dbab61d6d6 100644
--- a/erts/epmd/src/epmd_srv.c
+++ b/erts/epmd/src/epmd_srv.c
@@ -395,7 +395,7 @@ static void do_request(g, fd, s, buf, bsize)
in network byte order, and yyyyyy is symname, possibly null
terminated. */
- if (bsize <= 14) /* at least one character for the node name */
+ if (bsize <= 13) /* at least one character for the node name */
{
dbg_printf(g,0,"packet to small for request ALIVE2_REQ (%d)",bsize);
return;