summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-12-07 12:13:06 -0500
committerDonald Sharp <sharpd@nvidia.com>2020-12-08 09:06:08 -0500
commitaab4eca1c06306e74eebffc5961aef06bd6983b7 (patch)
tree59081517105124ea7c7f2c85d455969a3bc721a5 /lib/zclient.h
parent6a684109aea0e8b314340a00d9c353df0b3daab4 (diff)
lib, zebra: Fix overlapping message types
We had duplicate message id's. Shit's broke yo. Fix. I have no idea how this properly worked. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index ae94237b76..ba19948407 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -389,14 +389,13 @@ struct zclient {
/* Backup nexthops are present */
#define ZAPI_MESSAGE_BACKUP_NEXTHOPS 0x40
#define ZAPI_MESSAGE_NHG 0x80
-
/*
* This should only be used by a DAEMON that needs to communicate
* the table being used is not in the VRF. You must pass the
* default vrf, else this will be ignored.
*/
-#define ZAPI_MESSAGE_TABLEID 0x0080
-#define ZAPI_MESSAGE_SRTE 0x0100
+#define ZAPI_MESSAGE_TABLEID 0x0100
+#define ZAPI_MESSAGE_SRTE 0x0200
#define ZSERV_VERSION 6
/* Zserv protocol message header */