summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDenis Ovsienko <linux@pilot.org.ua>2007-08-13 16:03:06 +0000
committerDenis Ovsienko <linux@pilot.org.ua>2007-08-13 16:03:06 +0000
commitdc95824ae13d65156dd873a6e784d9a0eed2f39f (patch)
treefa53aa99e517d9cfe5c56474051afdaa1bc9a666 /lib
parent068fd77cff0ce09b6390641abd84fc09a89c49db (diff)
Merged own patch for the bug #391 (debugging and comments mostly).
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/zebra.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index ee329114..55ddfff8 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2007-08-13 Denis Ovsienko
+
+ * zebra.h: introduce ZEBRA_ERR_KERNEL and ZEBRA_ERR_NOERROR
+
2007-07-06 Atis Elsts <atis@mikrotik.com>
* pqueue.{c,h}: Export trickle_up
diff --git a/lib/zebra.h b/lib/zebra.h
index 2c7edd92..150aa2c5 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -454,10 +454,12 @@ extern const char *zserv_command_string (unsigned int command);
#define ZEBRA_FAMILY_MAX 3
/* Error codes of zebra. */
+#define ZEBRA_ERR_NOERROR 0
#define ZEBRA_ERR_RTEXIST -1
#define ZEBRA_ERR_RTUNREACH -2
#define ZEBRA_ERR_EPERM -3
#define ZEBRA_ERR_RTNOEXIST -4
+#define ZEBRA_ERR_KERNEL -5
/* Zebra message flags */
#define ZEBRA_FLAG_INTERNAL 0x01