]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospfd, ospf6d: Remove deprecated JSON fields 15724/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 11 Apr 2024 10:34:17 +0000 (13:34 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 11 Apr 2024 10:34:17 +0000 (13:34 +0300)
restartSupoort

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
ospf6d/ospf6_gr_helper.c
ospfd/ospf_vty.c

index be1042f260317f554e8bad0caa5b48adab37ac5b..229e0a4db8ab516c4f89dfd4616a2780a9f26524 100644 (file)
@@ -938,15 +938,6 @@ static void show_ospf6_gr_helper_details(struct vty *vty, struct ospf6 *ospf6,
                                ? "Enabled"
                                : "Disabled");
 
-#if CONFDATE > 20240401
-               CPP_NOTICE("Remove deprecated json key: restartSupoort")
-#endif
-               json_object_string_add(
-                       json, "restartSupoort",
-                       (ospf6->ospf6_helper_cfg.only_planned_restart)
-                               ? "Planned Restart only"
-                               : "Planned and Unplanned Restarts");
-
                json_object_string_add(
                        json, "restartSupport",
                        (ospf6->ospf6_helper_cfg.only_planned_restart)
index bf131ff225cbe5c10eb20c7aaff89e10748a14a6..b366b3ca3084eb845f2a3162e77ca853cd3b660b 100644 (file)
@@ -10446,15 +10446,6 @@ 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)