diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-18 16:17:36 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 22:02:05 +0200 |
commit | 3613d8984440c5193a1d41dd5ccfd1ba50b73d8e (patch) | |
tree | 60bbfab91d34892c1b2b59b4281e0b3fac9a81a5 /pimd/pim_tlv.c | |
parent | ripngd: Convert over to using LIB_ERR_XXXX for zlog_ferr (diff) | |
download | frr-3613d8984440c5193a1d41dd5ccfd1ba50b73d8e.tar.xz frr-3613d8984440c5193a1d41dd5ccfd1ba50b73d8e.zip |
pimd: Convert over to use LIB_ERR_XXX for zlog_err
Convert, where appropriate, the zlog_err functions to zlog_ferr
for the LIB_ERR_XXX enums
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_tlv.c')
-rw-r--r-- | pimd/pim_tlv.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pimd/pim_tlv.c b/pimd/pim_tlv.c index 80bda336d..70700dd50 100644 --- a/pimd/pim_tlv.c +++ b/pimd/pim_tlv.c @@ -767,12 +767,6 @@ int pim_tlv_parse_addr_list(const char *ifname, struct in_addr src_addr, { struct prefix *p; p = prefix_new(); - if (!p) { - zlog_err("%s %s: failure: prefix_new()", - __FILE__, __PRETTY_FUNCTION__); - FREE_ADDR_LIST(*hello_option_addr_list); - return -3; - } prefix_copy(p, &tmp); listnode_add(*hello_option_addr_list, p); } |