diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-06-19 20:29:05 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 22:02:05 +0200 |
commit | 43e52561b476e4810e0a1280769e800e2d619621 (patch) | |
tree | 9d8639c395d92ebcd38261371ec2103f36ce42b5 /zebra/if_ioctl.c | |
parent | isisd: Cleanup compile issue (diff) | |
download | frr-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.c | 4 |
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; } |