summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2012-04-20 17:26:48 +0200
committerDavid Lamparter <equinox@diac24.net>2012-04-20 17:29:44 +0200
commit8d79efddb9c63f3b45e0ee7cac9508509b3b939c (patch)
treec2b652492dffa025fd18a24aba12f30ca04b4e04 /lib
parent9665856e3718e42068e7d897f5e2468e77fb8c17 (diff)
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 <equinox@diac24.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/zclient.h2
1 files changed, 1 insertions, 1 deletions
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;
};