diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-08-21 11:09:36 +0200 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-08-21 11:10:40 +0200 |
commit | b2111f08a5da39ac7de7489aab37f35b812aedba (patch) | |
tree | 886a46d6829420a422cd5f66555467f34da1c3af /lib/ferr.c | |
parent | Merge pull request #2867 from dslicenc/show-route-leak-json (diff) | |
download | frr-b2111f08a5da39ac7de7489aab37f35b812aedba.tar.xz frr-b2111f08a5da39ac7de7489aab37f35b812aedba.zip |
lib: fix show error all
show error all was displaying 0 value for code, whereas real code value
was not displayed.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/ferr.c')
-rw-r--r-- | lib/ferr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ferr.c b/lib/ferr.c index 2fa5db6f3..d1b9d514b 100644 --- a/lib/ferr.c +++ b/lib/ferr.c @@ -146,7 +146,7 @@ void log_ref_display(struct vty *vty, uint32_t code, bool json) char ubuf[256]; snprintf(pbuf, sizeof(pbuf), "\nError %"PRIu32" - %s", - code, ref->title); + ref->code, ref->title); memset(ubuf, '=', strlen(pbuf)); ubuf[sizeof(ubuf) - 1] = '\0'; |