From: David Lamparter Date: Fri, 20 Apr 2012 15:26:48 +0000 (+0200) Subject: lib: bump ZSERV_VERSION to 2 X-Git-Tag: frr-2.0-rc1~1856 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=8d79efddb9c63f3b45e0ee7cac9508509b3b939c;p=matthieu%2Ffrr.git 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 --- diff --git a/lib/zclient.h b/lib/zclient.h index a7d7b54873..a660bbf195 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; };