summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.h b/src/config.h
index 688b51c..ff638d2 100644
--- a/src/config.h
+++ b/src/config.h
@@ -28,11 +28,11 @@
// Protocol version should be increased whenever new features/messages are added,
// so either the client or server can run in compatibility mode, or they can
// cancel the connection right away if the protocol has changed too much
-#define PROTOCOL_VERSION 1
+#define PROTOCOL_VERSION 2
// Which is the minimum protocol version the server expects from the client
-#define MIN_SUPPORTED_CLIENT 1
+#define MIN_SUPPORTED_CLIENT 2
// Which is the minimum protocol version the client expects from the server
-#define MIN_SUPPORTED_SERVER 1
+#define MIN_SUPPORTED_SERVER 2
// No payload allowed exceeding this many bytes (actual data from client->server is not affected by this limit!)
#define MAX_PAYLOAD 1000