summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2025-01-29 08:18:32 -0500
committerDonald Sharp <sharpd@nvidia.com>2025-01-29 09:31:53 -0500
commitfb8e399e4f66d09780f176fbecb99168089e64eb (patch)
tree348648766a01e5e6b5aa92ae285c1cdd26523b81 /zebra
parent190906aaf1b140d204bd0134d9764f84636fe284 (diff)
lib: Remove System routes from ip protocol route map choices
Do not allow system routes to be selected for ip protocol Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zebra_cli.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zebra_cli.c b/zebra/zebra_cli.c
index ca53eb2eb3..bb79928326 100644
--- a/zebra/zebra_cli.c
+++ b/zebra/zebra_cli.c
@@ -1983,6 +1983,10 @@ static void lib_vrf_zebra_ipv6_router_id_cli_write(struct vty *vty,
vty_out(vty, "ipv6 router-id %s\n", id);
}
+/*
+ * Both the v4 and v6 version of this command are now limiting the
+ * usage of System route types from being considered here at all
+ */
DEFPY_YANG (ip_protocol,
ip_protocol_cmd,
"[no] ip protocol " FRR_IP_PROTOCOL_MAP_STR_ZEBRA