From d4b6817a2785d9ce026de40dadcc948e22afffe9 Mon Sep 17 00:00:00 2001 From: Patrik Nyblom Date: Fri, 27 Aug 2010 14:50:02 +0200 Subject: Calculate minimal packet size for ALIVE2 requests correctly --- erts/epmd/src/epmd_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3