From 3e992e066c6aeb3972758a2304cccbdba024c31e Mon Sep 17 00:00:00 2001 From: sr Date: Sat, 1 Sep 2012 18:08:27 +0200 Subject: [KERNEL] Tell server whether we're a client or a server in proxy mode [KERNEL] SysFS: Return empty string for current_server if not connected [SERVER] Code refactoring --- src/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/config.h') 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 -- cgit v1.2.3-55-g7522