diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-18 15:50:29 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 22:02:05 +0200 |
commit | 77cbe4a1b3a7a064c2d001f575185760655e3765 (patch) | |
tree | bcfd372f4eeb10419e70a8b76609f11a3452e3a2 /ripd/rip_interface.c | |
parent | ospf6d: Update OSPFv3 to use new zlog_ferr (diff) | |
download | frr-77cbe4a1b3a7a064c2d001f575185760655e3765.tar.xz frr-77cbe4a1b3a7a064c2d001f575185760655e3765.zip |
ripd: Convert zlog_err to zlog_ferr for LIB_ERR_XXX
For those errors that can be traced to LIB_ERR_XXX
convert to using those in ripd.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripd/rip_interface.c')
-rw-r--r-- | ripd/rip_interface.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c index 58247f162..ce0af49e5 100644 --- a/ripd/rip_interface.c +++ b/ripd/rip_interface.c @@ -34,6 +34,7 @@ #include "filter.h" #include "sockopt.h" #include "privs.h" +#include "lib_errors.h" #include "zebra/connected.h" @@ -864,8 +865,9 @@ static int rip_interface_wakeup(struct thread *t) /* Join to multicast group. */ if (rip_multicast_join(ifp, rip->sock) < 0) { - zlog_err("multicast join failed, interface %s not running", - ifp->name); + zlog_ferr(LIB_ERR_SOCKET, + "multicast join failed, interface %s not running", + ifp->name); return 0; } |