From f23cbcda591480973f0be795d487c9268cb667ec Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 18 Apr 2018 14:50:55 -0400 Subject: [PATCH] zebra: Allow a static daemon to connect As part of moving the static route handling to it's own daemon allow zebra to accept static route types from upper level protocols. Signed-off-by: Donald Sharp --- zebra/zapi_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c index c16fa70857..b41cb812cb 100644 --- a/zebra/zapi_msg.c +++ b/zebra/zapi_msg.c @@ -2245,7 +2245,7 @@ static void zread_hello(ZAPI_HANDLER_ARGS) client->notify_owner = true; /* accept only dynamic routing protocols */ - if ((proto < ZEBRA_ROUTE_MAX) && (proto > ZEBRA_ROUTE_STATIC)) { + if ((proto < ZEBRA_ROUTE_MAX) && (proto > ZEBRA_ROUTE_CONNECT)) { zlog_notice( "client %d says hello and bids fair to announce only %s routes vrf=%u", client->sock, zebra_route_string(proto), -- 2.39.5