From 9a8c0f2d259dc91c357cfb8136bbc5b81c8aebfb Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Wed, 10 Nov 2021 15:15:15 +0300 Subject: [PATCH] ospfd: fix no-form of "graceful-restart" command The no-form should use the same arguments as the regular command, hence replace "period" with "grace-period". Signed-off-by: Igor Ryzhov --- ospfd/ospf_gr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ospfd/ospf_gr.c b/ospfd/ospf_gr.c index 8276ccb89c..6bfe48145f 100644 --- a/ospfd/ospf_gr.c +++ b/ospfd/ospf_gr.c @@ -770,7 +770,7 @@ DEFPY(graceful_restart, graceful_restart_cmd, } DEFPY(no_graceful_restart, no_graceful_restart_cmd, - "no graceful-restart [period (1-1800)]", + "no graceful-restart [grace-period (1-1800)]", NO_STR OSPF_GR_STR "Maximum length of the 'grace period'\n" "Maximum length of the 'grace period' in seconds\n") -- 2.39.5