summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-07 23:53:31 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-15 01:40:30 +0300
commit3716e975e69e7e33714824f90c6520e5ce67014f (patch)
tree445ec3fb4f5eaa01f65a1188985a0634711472ce
parentd8d7902a16283be2d92b2c2e320051c0d98aa341 (diff)
downloadhercules-3716e975e69e7e33714824f90c6520e5ce67014f.tar.gz
hercules-3716e975e69e7e33714824f90c6520e5ce67014f.tar.bz2
hercules-3716e975e69e7e33714824f90c6520e5ce67014f.tar.xz
hercules-3716e975e69e7e33714824f90c6520e5ce67014f.zip
Add packet versions for all server types into socket_datasync.
-rw-r--r--src/common/socket.c5
1 files changed, 5 insertions, 0 deletions
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);