summaryrefslogtreecommitdiffstats
path: root/ldpd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-01-31 09:18:28 +0100
committerDonatas Abraitis <donatas@opensourcerouting.org>2023-01-31 09:18:28 +0100
commit1ce23106ebf0bf088dde69958228076faf5ac1b8 (patch)
tree5df60fefa3a267e080a5882db0c5a8ef7c14ace5 /ldpd
parentMerge pull request #12709 from donaldsharp/update_withdraw_always_work (diff)
downloadfrr-1ce23106ebf0bf088dde69958228076faf5ac1b8.tar.xz
frr-1ce23106ebf0bf088dde69958228076faf5ac1b8.zip
*: Drop deprecated incorrect JSON fields with wrong naming
Deprecation cycle already passed. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'ldpd')
-rw-r--r--ldpd/ldp_vty_exec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ldpd/ldp_vty_exec.c b/ldpd/ldp_vty_exec.c
index c4053f537..a8cffd6d9 100644
--- a/ldpd/ldp_vty_exec.c
+++ b/ldpd/ldp_vty_exec.c
@@ -1472,10 +1472,6 @@ show_l2vpn_pw_msg_json(struct imsg *imsg, struct show_params *params,
json_pw = json_object_new_object();
json_object_string_addf(json_pw, "peerId", "%pI4", &pw->lsr_id);
json_object_int_add(json_pw, "vcId", pw->pwid);
-#if CONFDATE > 20230131
-CPP_NOTICE("Remove JSON object commands with keys starting with capital")
-#endif
- json_object_string_add(json_pw, "VpnName", pw->l2vpn_name);
json_object_string_add(json_pw, "vpnName", pw->l2vpn_name);
if (pw->status == PW_FORWARDING)
json_object_string_add(json_pw, "status", "up");