Skip to content

Commit 8f7bc62

Browse files
committed
ospfd, ospf6d: Remove deprecated JSON fields
restartSupoort Signed-off-by: Donatas Abraitis <[email protected]>
1 parent 3d3f968 commit 8f7bc62

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

ospf6d/ospf6_gr_helper.c

-9
Original file line numberDiff line numberDiff line change
@@ -938,15 +938,6 @@ static void show_ospf6_gr_helper_details(struct vty *vty, struct ospf6 *ospf6,
938938
? "Enabled"
939939
: "Disabled");
940940

941-
#if CONFDATE > 20240401
942-
CPP_NOTICE("Remove deprecated json key: restartSupoort")
943-
#endif
944-
json_object_string_add(
945-
json, "restartSupoort",
946-
(ospf6->ospf6_helper_cfg.only_planned_restart)
947-
? "Planned Restart only"
948-
: "Planned and Unplanned Restarts");
949-
950941
json_object_string_add(
951942
json, "restartSupport",
952943
(ospf6->ospf6_helper_cfg.only_planned_restart)

ospfd/ospf_vty.c

-9
Original file line numberDiff line numberDiff line change
@@ -10446,15 +10446,6 @@ static int ospf_show_gr_helper_details(struct vty *vty, struct ospf *ospf,
1044610446
json_object_string_add(json_vrf, "strictLsaCheck",
1044710447
(ospf->strict_lsa_check) ? "Enabled"
1044810448
: "Disabled");
10449-
#if CONFDATE > 20240401
10450-
CPP_NOTICE("Remove deprecated json key: restartSupoort")
10451-
#endif
10452-
json_object_string_add(
10453-
json_vrf, "restartSupoort",
10454-
(ospf->only_planned_restart)
10455-
? "Planned Restart only"
10456-
: "Planned and Unplanned Restarts");
10457-
1045810449
json_object_string_add(
1045910450
json_vrf, "restartSupport",
1046010451
(ospf->only_planned_restart)

0 commit comments

Comments
 (0)