summaryrefslogtreecommitdiffstats
path: root/zebra/if_ioctl.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-06-19 20:29:05 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commit43e52561b476e4810e0a1280769e800e2d619621 (patch)
tree9d8639c395d92ebcd38261371ec2103f36ce42b5 /zebra/if_ioctl.c
parentisisd: Cleanup compile issue (diff)
downloadfrr-43e52561b476e4810e0a1280769e800e2d619621.tar.xz
frr-43e52561b476e4810e0a1280769e800e2d619621.zip
zebra, lib: error references for zebra
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/if_ioctl.c')
-rw-r--r--zebra/if_ioctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/zebra/if_ioctl.c b/zebra/if_ioctl.c
index 8e2e64edc..7045d5128 100644
--- a/zebra/if_ioctl.c
+++ b/zebra/if_ioctl.c
@@ -33,6 +33,7 @@
#include "log.h"
#include "vrf.h"
#include "vty.h"
+#include "lib_errors.h"
#include "zebra/interface.h"
#include "zebra/rib.h"
@@ -175,7 +176,8 @@ static int if_getaddrs(void)
ret = getifaddrs(&ifap);
if (ret != 0) {
- zlog_err("getifaddrs(): %s", safe_strerror(errno));
+ zlog_ferr(LIB_ERR_SYSTEM_CALL, "getifaddrs(): %s",
+ safe_strerror(errno));
return -1;
}