From 3716e975e69e7e33714824f90c6520e5ce67014f Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Wed, 7 Nov 2018 23:53:31 +0300
Subject: Add packet versions for all server types into socket_datasync.

---
 src/common/socket.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/common/socket.c b/src/common/socket.c
index 5f74ccf2f..735571825 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -1798,6 +1798,11 @@ static void socket_datasync(int fd, bool send)
 		{ sizeof(struct guild_castle) },
 		{ sizeof(struct fame_list) },
 		{ PACKETVER },
+		{ PACKETVER_MAIN_NUM },
+		{ PACKETVER_RE_NUM },
+		{ PACKETVER_ZERO_NUM },
+		{ PACKETVER_AD_NUM },
+		{ PACKETVER_SAK_NUM },
 	};
 	unsigned short i;
 	unsigned int alen = ARRAYLENGTH(data_list);
-- 
cgit v1.2.3-70-g09d2