summaryrefslogtreecommitdiffstats
path: root/zebra/zapi_msg.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-01-05 00:32:43 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-11-01 22:13:06 +0100
commitd4aa24ba7df066ee8a9f4bab5c1b4e9ff8474392 (patch)
tree250831364f85b54568614167d4b6bf118348c632 /zebra/zapi_msg.c
parentMerge pull request #14546 from adrianomarto/ospf6-point-to-multipoint (diff)
downloadfrr-d4aa24ba7df066ee8a9f4bab5c1b4e9ff8474392.tar.xz
frr-d4aa24ba7df066ee8a9f4bab5c1b4e9ff8474392.zip
*: Introduce Local Host Routes to FRR
Create Local routes in FRR: S 0.0.0.0/0 [1/0] via 192.168.119.1, enp39s0, weight 1, 00:03:46 K>* 0.0.0.0/0 [0/100] via 192.168.119.1, enp39s0, 00:03:51 O 192.168.119.0/24 [110/100] is directly connected, enp39s0, weight 1, 00:03:46 C>* 192.168.119.0/24 is directly connected, enp39s0, 00:03:51 L>* 192.168.119.224/32 is directly connected, enp39s0, 00:03:51 O 192.168.119.229/32 [110/100] via 0.0.0.0, enp39s0 inactive, weight 1, 00:03:46 C>* 192.168.119.229/32 is directly connected, enp39s0, 00:03:46 Create ability to redistribute local routes. Modify tests to support this change. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zapi_msg.c')
-rw-r--r--zebra/zapi_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index 856c906bd..4b3833e5e 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -2391,7 +2391,7 @@ static void zread_hello(ZAPI_HANDLER_ARGS)
client->synchronous = true;
/* accept only dynamic routing protocols */
- if ((proto < ZEBRA_ROUTE_MAX) && (proto > ZEBRA_ROUTE_CONNECT)) {
+ if ((proto < ZEBRA_ROUTE_MAX) && (proto > ZEBRA_ROUTE_LOCAL)) {
zlog_notice(
"client %d says hello and bids fair to announce only %s routes vrf=%u",
client->sock, zebra_route_string(proto),