From 972308b174f009fb635f2b71a1f01edbde6cef13 Mon Sep 17 00:00:00 2001 From: Shbinging Date: Fri, 11 Oct 2024 09:44:09 +0000 Subject: [PATCH 1/2] ospfd: fix no_area_range_cost_NUM command, NUM can be omitted Signed-off-by: Shbinging --- ospfd/ospf_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index b7261da261..144c6212fc 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -718,7 +718,7 @@ DEFUN (ospf_area_range_not_advertise, DEFUN (no_ospf_area_range, no_ospf_area_range_cmd, - "no area range A.B.C.D/M []", + "no area range A.B.C.D/M []", NO_STR "OSPF area parameters\n" "OSPF area ID in IP address format\n" From 774788d4c87f54b978650c34400d5727dcf40a63 Mon Sep 17 00:00:00 2001 From: Shbinging Date: Fri, 11 Oct 2024 09:48:33 +0000 Subject: [PATCH 2/2] ospfd: fix no area shortcut MODE command, MODE can be default Signed-off-by: Shbinging --- ospfd/ospf_vty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index 144c6212fc..35cdc0217e 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -1353,12 +1353,13 @@ DEFUN (ospf_area_shortcut, DEFUN (no_ospf_area_shortcut, no_ospf_area_shortcut_cmd, - "no area shortcut ", + "no area shortcut ", NO_STR "OSPF area parameters\n" "OSPF area ID in IP address format\n" "OSPF area ID as a decimal value\n" "Deconfigure the area's shortcutting mode\n" + "Deconfigure default shortcutting through the area\n" "Deconfigure enabled shortcutting through the area\n" "Deconfigure disabled shortcutting through the area\n") {