summaryrefslogtreecommitdiffstats
path: root/nhrpd/nhrp_main.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-19 21:28:01 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commitaed070112489e92dbdcc4eb02243aec8af2d66af (patch)
tree3f9be78c9061266899d1025bd2098ebd8bc0ebe9 /nhrpd/nhrp_main.c
parentbgpd: Add some FLowspec specific Error Codes. (diff)
downloadfrr-aed070112489e92dbdcc4eb02243aec8af2d66af.tar.xz
frr-aed070112489e92dbdcc4eb02243aec8af2d66af.zip
nhrpd: Add NHRP_ERR_XXXX for zlog_err to zlog_ferr conversion
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'nhrpd/nhrp_main.c')
-rw-r--r--nhrpd/nhrp_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c
index ba1e00ded..e9f44e855 100644
--- a/nhrpd/nhrp_main.c
+++ b/nhrpd/nhrp_main.c
@@ -23,6 +23,7 @@
#include "nhrpd.h"
#include "netlink.h"
+#include "nhrp_errors.h"
DEFINE_MGROUP(NHRPD, "NHRP")
@@ -128,6 +129,7 @@ int main(int argc, char **argv)
/* Library inits. */
master = frr_init();
+ nhrp_error_init();
vrf_init(NULL, NULL, NULL, NULL);
nhrp_interface_init();
resolver_init();