summaryrefslogtreecommitdiffstats
path: root/lib/ferr.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-14 13:57:39 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commit9023454067e0d18fd6a8d108e990841ed913cfcd (patch)
tree884768db18b61dff153880adfd064af95516e809 /lib/ferr.h
parentlib: add error reference system (diff)
downloadfrr-9023454067e0d18fd6a8d108e990841ed913cfcd.tar.xz
frr-9023454067e0d18fd6a8d108e990841ed913cfcd.zip
lib: Allow adding arrays of ferr's
Simplify addition of new messages to the system by allow passage of arrays of data, instead of one at a time. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/ferr.h')
-rw-r--r--lib/ferr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ferr.h b/lib/ferr.h
index 5efdc6bd6..7e38fa455 100644
--- a/lib/ferr.h
+++ b/lib/ferr.h
@@ -104,6 +104,7 @@ struct ferr {
#define OSPF_FERR_END 0x03FFFFFF
#define ZEBRA_FERR_START 0x04000001
#define ZEBRA_FERR_END 0x04FFFFFF
+#define END_FERR 0xFFFFFFFF
struct ferr_ref {
/* Unique error code displayed to end user as a reference. -1 means