summaryrefslogtreecommitdiff
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorVyacheslav Trushkin <me@dogonthesun.net>2011-12-11 18:48:47 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2012-01-02 17:27:19 +0400
commit89e9f82e0b717c0e39bbffa104f9d9f817c19b46 (patch)
tree93bf15e1698b686741ee6574f65a3e7a5155dc2c /lib/zebra.h
parent07bb964ef11d34235570427cd9bc4111956e31b7 (diff)
zebra: ZEBRA_HELLO and mopping up routes (BZ#448)
ZEBRA_HELLO message is used by routing daemons to inform zebra what type of routes daemon will be announcing to zebra. Also zebra uses route_type_oaths array to track which daemon announces which protocol. Zebra mops up routes if daemon didn't for some reason.
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 4b4c7c00..ab072d6e 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -417,7 +417,8 @@ struct in_pktinfo
#define ZEBRA_ROUTER_ID_ADD 20
#define ZEBRA_ROUTER_ID_DELETE 21
#define ZEBRA_ROUTER_ID_UPDATE 22
-#define ZEBRA_MESSAGE_MAX 23
+#define ZEBRA_HELLO 23
+#define ZEBRA_MESSAGE_MAX 24
/* Marker value used in new Zserv, in the byte location corresponding
* the command value in the old zserv header. To allow old and new