summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_neighbor.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-19 21:39:45 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commit8b0a80f1205819ce20b2b7334b6255ff97207806 (patch)
tree5fe73aae23a3f50842e4122eb0ab34ae12bc88ac /eigrpd/eigrp_neighbor.c
parentnhrpd: Add NHRP_ERR_XXXX for zlog_err to zlog_ferr conversion (diff)
downloadfrr-8b0a80f1205819ce20b2b7334b6255ff97207806.tar.xz
frr-8b0a80f1205819ce20b2b7334b6255ff97207806.zip
eigrpd: Add EIGRP_ERR_XXX for zlog_err to zlog_ferr
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_neighbor.c')
-rw-r--r--eigrpd/eigrp_neighbor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/eigrpd/eigrp_neighbor.c b/eigrpd/eigrp_neighbor.c
index 3bf75072a..9585fa01e 100644
--- a/eigrpd/eigrp_neighbor.c
+++ b/eigrpd/eigrp_neighbor.c
@@ -53,6 +53,7 @@
#include "eigrpd/eigrp_network.h"
#include "eigrpd/eigrp_topology.h"
#include "eigrpd/eigrp_memory.h"
+#include "eigrpd/eigrp_errors.h"
struct eigrp_neighbor *eigrp_nbr_new(struct eigrp_interface *ei)
{
@@ -335,7 +336,8 @@ int eigrp_nbr_count_get(void)
void eigrp_nbr_hard_restart(struct eigrp_neighbor *nbr, struct vty *vty)
{
if (nbr == NULL) {
- zlog_err("Nbr Hard restart: Neighbor not specified.");
+ zlog_ferr(EIGRP_ERR_CONFIG,
+ "Nbr Hard restart: Neighbor not specified.");
return;
}