From 40a0880941c1636877c67c175485336e2b23b812 Mon Sep 17 00:00:00 2001 From: Mobashshera Rasool Date: Wed, 4 Aug 2021 05:00:10 -0700 Subject: [PATCH] ospf6d: remove ospf6Enabled from json output after deprecation cycle Since ospf6Enabled and attachedToArea are denoting the same thing. It is decided to remove ospf6Enabled from json output to make CLI and json output similar. Fixes: #9286 Signed-off-by: Mobashshera Rasool --- ospf6d/ospf6_interface.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index a169b9c60e..e0067d6d84 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -943,6 +943,10 @@ static const char *ospf6_iftype_str(uint8_t iftype) return "UNKNOWN"; } +#if CONFDATE > 20220709 +CPP_NOTICE("Time to remove ospf6Enabled from JSON output") +#endif + /* show specified interface structure */ static int ospf6_interface_show(struct vty *vty, struct interface *ifp, json_object *json_obj, bool use_json) -- 2.39.5