diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-18 16:58:43 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 22:02:05 +0200 |
commit | 6ae7ed45ff9a9a6c10b58c752ec8952e9e54c52e (patch) | |
tree | 629e7b0f8bac04199dc3a79e78e394cf5261a05f /eigrpd/eigrp_packet.c | |
parent | lib: Update error ranges to include all daemons (diff) | |
download | frr-6ae7ed45ff9a9a6c10b58c752ec8952e9e54c52e.tar.xz frr-6ae7ed45ff9a9a6c10b58c752ec8952e9e54c52e.zip |
eigrpd: Convert to use LIB_ERR_XXX for zlog_err
Convert, where appropriate, to using LIB_ERR_XXX for zlog_ferr
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_packet.c')
-rw-r--r-- | eigrpd/eigrp_packet.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eigrpd/eigrp_packet.c b/eigrpd/eigrp_packet.c index 027f30563..09a3ad8de 100644 --- a/eigrpd/eigrp_packet.c +++ b/eigrpd/eigrp_packet.c @@ -42,6 +42,7 @@ #include "checksum.h" #include "md5.h" #include "sha256.h" +#include "lib_errors.h" #include "eigrpd/eigrp_structs.h" #include "eigrpd/eigrpd.h" @@ -1210,8 +1211,9 @@ uint16_t eigrp_add_internalTLV_to_stream(struct stream *s, stream_putw(s, length); break; default: - zlog_err("%s: Unexpected prefix length: %d", - __PRETTY_FUNCTION__, pe->destination->prefixlen); + zlog_ferr(LIB_ERR_DEVELOPMENT, + "%s: Unexpected prefix length: %d", + __PRETTY_FUNCTION__, pe->destination->prefixlen); return 0; } stream_putl(s, 0x00000000); |