mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
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 <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
155d6d4415
commit
f23cbcda59
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue