summaryrefslogtreecommitdiff
path: root/ldpd
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-02-01 15:39:18 -0500
committerGitHub <noreply@github.com>2023-02-01 15:39:18 -0500
commit33303f08bf179431326a65f394b76f5c0ca1e71e (patch)
treeb1d2c5e517de3658dd5e3d90beda169d485d27c1 /ldpd
parentb54ec1733b4cbf52911a3922026bc5112e2810be (diff)
parentf932966b02478cf3a3dd443d98eea7cc95c8379a (diff)
Merge pull request #12713 from opensourcerouting/fix/json_naming_deprecation
*: Drop deprecated incorrect JSON fields with wrong naming
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 c4053f5374..a8cffd6d91 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");