From 8d79efddb9c63f3b45e0ee7cac9508509b3b939c Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Fri, 20 Apr 2012 17:26:48 +0200 Subject: lib: bump ZSERV_VERSION to 2 continually changing the zserv protocol without bumping up the version number has made it impossible to talk to zebra without knowing the exact version. in reality, increasing the version number more often guards against inadvertedly running incompatible versions of a daemon and zebra as well as aids external development. * lib/zclient.h: #define ZSERV_VERSION 2 Signed-off-by: David Lamparter --- lib/zclient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zclient.h b/lib/zclient.h index a7d7b548..a660bbf1 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -98,7 +98,7 @@ struct zserv_header * always set to 255 in new zserv. */ uint8_t version; -#define ZSERV_VERSION 1 +#define ZSERV_VERSION 2 uint16_t command; }; -- cgit v1.2.1