summaryrefslogtreecommitdiffstats
path: root/ospf6d
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2021-09-21 15:40:10 +0200
committerRenato Westphal <renato@opensourcerouting.org>2021-09-21 16:51:36 +0200
commit6b513b4c92b9ddc70212bebd06862f83f5a0d96b (patch)
tree708f620e0436531cafa1dcf5faa679aabb75f881 /ospf6d
parentMerge pull request #9636 from donaldsharp/unchecked_return (diff)
downloadfrr-6b513b4c92b9ddc70212bebd06862f83f5a0d96b.tar.xz
frr-6b513b4c92b9ddc70212bebd06862f83f5a0d96b.zip
ospf6d: rename the "graceful-restart helper-only" command
Considering that both the GR helper mode and restarting mode can be enabled at the same time, the "graceful-restart helper-only" command can be a bit misleading since it implies that only the helper mode is enabled. Rename the command to "graceful-restart helper enable" to clarify what the command does. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_gr_helper.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/ospf6d/ospf6_gr_helper.c b/ospf6d/ospf6_gr_helper.c
index 4522bd261..ad8998b1e 100644
--- a/ospf6d/ospf6_gr_helper.c
+++ b/ospf6d/ospf6_gr_helper.c
@@ -1019,10 +1019,11 @@ static void show_ospf6_gr_helper_details(struct vty *vty, struct ospf6 *ospf6,
/* Graceful Restart HELPER config Commands */
DEFPY(ospf6_gr_helper_enable,
ospf6_gr_helper_enable_cmd,
- "graceful-restart helper-only [A.B.C.D$rtr_id]",
+ "graceful-restart helper enable [A.B.C.D$rtr_id]",
"ospf6 graceful restart\n"
+ "ospf6 GR Helper\n"
"Enable Helper support\n"
- "Advertisement RouterId\n")
+ "Advertisement Router-ID\n")
{
VTY_DECLVAR_CONTEXT(ospf6, ospf6);
@@ -1041,11 +1042,12 @@ DEFPY(ospf6_gr_helper_enable,
DEFPY(ospf6_gr_helper_disable,
ospf6_gr_helper_disable_cmd,
- "no graceful-restart helper-only [A.B.C.D$rtr_id]",
+ "no graceful-restart helper enable [A.B.C.D$rtr_id]",
NO_STR
"ospf6 graceful restart\n"
- "Disable Helper support\n"
- "Advertisement RouterId\n")
+ "ospf6 GR Helper\n"
+ "Enable Helper support\n"
+ "Advertisement Router-ID\n")
{
VTY_DECLVAR_CONTEXT(ospf6, ospf6);
@@ -1354,14 +1356,14 @@ static int ospf6_cfg_write_helper_enable_rtr_walkcb(struct hash_bucket *backet,
struct advRtr *rtr = backet->data;
struct vty *vty = (struct vty *)arg;
- vty_out(vty, " graceful-restart helper-only %pI4\n", &rtr->advRtrAddr);
+ vty_out(vty, " graceful-restart helper enable %pI4\n", &rtr->advRtrAddr);
return HASHWALK_CONTINUE;
}
int config_write_ospf6_gr_helper(struct vty *vty, struct ospf6 *ospf6)
{
if (ospf6->ospf6_helper_cfg.is_helper_supported)
- vty_out(vty, " graceful-restart helper-only\n");
+ vty_out(vty, " graceful-restart helper enable\n");
if (!ospf6->ospf6_helper_cfg.strict_lsa_check)
vty_out(vty, " graceful-restart helper lsa-check-disable\n");