summaryrefslogtreecommitdiffstats
path: root/lib/ferr.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-06-20 20:51:04 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commited8841d3fb5af79fae6786d93ebbbff681d4d6bf (patch)
tree97027f642364bef76f533ad9ec200b520bcf1399 /lib/ferr.h
parentbabeld: fix erroneous lib init (diff)
downloadfrr-ed8841d3fb5af79fae6786d93ebbbff681d4d6bf.tar.xz
frr-ed8841d3fb5af79fae6786d93ebbbff681d4d6bf.zip
lib: add 'show error all json'
* Add 'all' option * Add 'json' option Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/ferr.h')
-rw-r--r--lib/ferr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ferr.h b/lib/ferr.h
index 79f1fc996..51fd9e3be 100644
--- a/lib/ferr.h
+++ b/lib/ferr.h
@@ -146,7 +146,7 @@ struct ferr_ref {
void ferr_ref_add(struct ferr_ref *ref);
struct ferr_ref *ferr_ref_get(uint32_t code);
-void ferr_ref_display(struct vty *, uint32_t code);
+void ferr_ref_display(struct vty *, uint32_t code, bool json);
/*
* This function should be called by the