summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-01-04 14:03:14 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-01-04 14:05:39 +0100
commit80e71dcd1fffe1126954d30c13897d90512329fa (patch)
tree4b09cb0c75cbcb8d4c44fdc2a95514a84064ae03 /lib
parentdoc: Fixup quagga -> frr (diff)
downloadfrr-80e71dcd1fffe1126954d30c13897d90512329fa.tar.xz
frr-80e71dcd1fffe1126954d30c13897d90512329fa.zip
lib: Update ZAPI to version 4 and HEADER_MARKER to 254
Update the ZEBRA_HEADER_MARKER to 254. This will differentiate ourselves from Quagga. Zebra should not listen to people not properly using the right programs now. Update the ZAPI version number to 4. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/zclient.h2
-rw-r--r--lib/zebra.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 7ea5bc963..4312cdc83 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -123,7 +123,7 @@ struct zserv_header
* always set to 255 in new zserv.
*/
uint8_t version;
-#define ZSERV_VERSION 3
+#define ZSERV_VERSION 4
vrf_id_t vrf_id;
uint16_t command;
};
diff --git a/lib/zebra.h b/lib/zebra.h
index a67713c30..420f23717 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -411,7 +411,7 @@ typedef enum {
* the command value in the old zserv header. To allow old and new
* Zserv headers to be distinguished from each other.
*/
-#define ZEBRA_HEADER_MARKER 255
+#define ZEBRA_HEADER_MARKER 254
/* Zebra route's types are defined in route_types.h */
#include "route_types.h"