]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_vty.c
ospf,ospf6: fix json key typo supoort
[mirror_frr.git] / ospfd / ospf_vty.c
index d3d67ee88446cd99fe8fb64ed2fe76fd9f63dbf8..9398021e97a37d2c8ce52c6e55a8a6b75dc17cad 100644 (file)
@@ -10080,12 +10080,21 @@ static int ospf_show_gr_helper_details(struct vty *vty, struct ospf *ospf,
                json_object_string_add(json_vrf, "strictLsaCheck",
                                       (ospf->strict_lsa_check) ? "Enabled"
                                                                : "Disabled");
+#if CONFDATE > 20240401
+               CPP_NOTICE("Remove deprecated json key: restartSupoort")
+#endif
                json_object_string_add(
                        json_vrf, "restartSupoort",
                        (ospf->only_planned_restart)
                                ? "Planned Restart only"
                                : "Planned and Unplanned Restarts");
 
+               json_object_string_add(
+                       json_vrf, "restartSupport",
+                       (ospf->only_planned_restart)
+                               ? "Planned Restart only"
+                               : "Planned and Unplanned Restarts");
+
                json_object_int_add(json_vrf, "supportedGracePeriod",
                                    ospf->supported_grace_time);