diff --git a/test/mdbtest_slave.c b/test/mdbtest_slave.c
index e829194687c2a2d30edfb9e7759c321492453c54..de4bb70aadd56f4616fd6b603f6c061beff1fa0f 100644
--- a/test/mdbtest_slave.c
+++ b/test/mdbtest_slave.c
@@ -192,7 +192,7 @@ int main(int argc, char **argv)
 					break;
 				}
 			}
-			else if (recv_len == 32)
+			else if (recv_len == 31)
 			{
 				if (recv_data[0] == EXPANSION_BYTE && recv_data[1] == EXPANSION_REQ_ID_BYTE)
 				{