]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: bump ZSERV_VERSION to 2
authorDavid Lamparter <equinox@diac24.net>
Fri, 20 Apr 2012 15:26:48 +0000 (17:26 +0200)
committerDavid Lamparter <equinox@diac24.net>
Fri, 20 Apr 2012 15:29:44 +0000 (17:29 +0200)
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 <equinox@diac24.net>
lib/zclient.h

index a7d7b54873b93bac14dea15bb8183f311fe4cf55..a660bbf195e469c559142d96534ab198284d3726 100644 (file)
@@ -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;
 };