summaryrefslogtreecommitdiffstats
path: root/zebra/if_netlink.c
diff options
context:
space:
mode:
authorvdhingra <vdhingra@vmware.com>2019-08-23 14:28:43 +0200
committervdhingra <vdhingra@vmware.com>2019-09-19 11:59:04 +0200
commit14a4d9d0476bd950cfb7d3b94b050d15d1a8169d (patch)
tree7f574b7038b2f129ad6b629a7fcace91c6c2350b /zebra/if_netlink.c
parentMerge pull request #4731 from mjstapp/fix_redist_update (diff)
downloadfrr-14a4d9d0476bd950cfb7d3b94b050d15d1a8169d.tar.xz
frr-14a4d9d0476bd950cfb7d3b94b050d15d1a8169d.zip
Zebra: Rectifying the log messages.
This change addresses the following : 1. Ensures zlog_debug should be under DEBUG macro check 2. Ensures zlog_err and zlog_warn wherever applicable. 3. Removed few posivite logs from fpm handling, whose frequency is high. Signed-off-by: vishaldhingra <vdhingra@vmware.com>
Diffstat (limited to 'zebra/if_netlink.c')
-rw-r--r--zebra/if_netlink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/if_netlink.c b/zebra/if_netlink.c
index c71b95f75..08fa77923 100644
--- a/zebra/if_netlink.c
+++ b/zebra/if_netlink.c
@@ -1032,7 +1032,8 @@ int netlink_interface_addr(struct nlmsghdr *h, ns_id_t ns_id, int startup)
/* addr is primary key, SOL if we don't have one */
if (addr == NULL) {
- zlog_debug("%s: NULL address", __func__);
+ zlog_debug("%s: Local Interface Address is NULL for %s",
+ __func__, ifp->name);
return -1;
}