summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_vty.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2018-09-14 17:35:58 +0200
committerGitHub <noreply@github.com>2018-09-14 17:35:58 +0200
commit2fa3198399df58b1b039f094ad03d7c1329a2a3d (patch)
tree8bfb9ce491addede73950d9320bb075df0969339 /bgpd/bgp_vty.c
parentMerge pull request #3019 from pacovn/static_analysis__shadow_variables4 (diff)
parent*: style for EC replacements (diff)
downloadfrr-2fa3198399df58b1b039f094ad03d7c1329a2a3d.tar.xz
frr-2fa3198399df58b1b039f094ad03d7c1329a2a3d.zip
Merge pull request #3023 from qlyoung/ultimate-warning-reference-cards-rename
warning reference cards rename
Diffstat (limited to 'bgpd/bgp_vty.c')
-rw-r--r--bgpd/bgp_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index e6c7ebd45..e6d44c1a2 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -10822,7 +10822,7 @@ static void bgp_show_all_instances_neighbors_vty(struct vty *vty,
if (use_json) {
if (!(json = json_object_new_object())) {
flog_err(
- BGP_ERR_JSON_MEM_ERROR,
+ EC_BGP_JSON_MEM_ERROR,
"Unable to allocate memory for JSON object");
vty_out(vty,
"{\"error\": {\"message:\": \"Unable to allocate memory for JSON object\"}}}\n");