From 20c9e649bea253452d6d49346f8f7c6da399e31b Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Thu, 29 Apr 2021 08:15:08 -0400 Subject: [PATCH] sharpd: use correct list of redist protocols in remove lsp The remove lsp command was using the wrong list of route protocols - use the ZEBRA list, same as the other clis. Signed-off-by: Mark Stapp --- sharpd/sharp_vty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharpd/sharp_vty.c b/sharpd/sharp_vty.c index 002336616c..8306aca9ee 100644 --- a/sharpd/sharp_vty.c +++ b/sharpd/sharp_vty.c @@ -485,7 +485,7 @@ DEFPY(sharp_remove_lsp_prefix_v4, sharp_remove_lsp_prefix_v4_cmd, (0-100000)$inlabel\ [nexthop-group NHGNAME$nhgname] \ [prefix A.B.C.D/M$pfx\ - " FRR_IP_REDIST_STR_SHARPD "$type_str [instance (0-255)$instance]]", + " FRR_IP_REDIST_STR_ZEBRA "$type_str [instance (0-255)$instance]]", "Sharp Routing Protocol\n" "Remove data\n" "Remove an LSP\n" @@ -494,7 +494,7 @@ DEFPY(sharp_remove_lsp_prefix_v4, sharp_remove_lsp_prefix_v4_cmd, "The nexthop-group name\n" "Specify a v4 prefix\n" "The v4 prefix to label\n" - FRR_IP_REDIST_HELP_STR_SHARPD + FRR_IP_REDIST_HELP_STR_ZEBRA "Routing instance\n" "Instance to use\n") {