From: Donald Sharp Date: Wed, 18 Apr 2018 18:50:55 +0000 (-0400) Subject: zebra: Allow a static daemon to connect X-Git-Tag: frr-6.1-dev~86^2~13 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=f23cbcda591480973f0be795d487c9268cb667ec;p=matthieu%2Ffrr.git 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 --- 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),