From: hasso Date: Sun, 20 Feb 2005 19:09:23 +0000 (+0000) Subject: * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]" X-Git-Tag: frr-2.0-rc1~3173 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=e8274dcde1bd0f0339393714d57c019e57a5b798;p=mirror%2Ffrr.git * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]" if we are not debugging. --- diff --git a/zebra/ChangeLog b/zebra/ChangeLog index 95d072cbff..35d2aa877b 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -1,3 +1,8 @@ +2005-02-20 Hasso Tepper + + * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]" + if we are not debugging. + 2005-02-19 Paul Jakma * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index 1d6c658cba..1aa99af0fb 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -1218,7 +1218,8 @@ addattr32 (struct nlmsghdr *n, int maxlen, int type, int data) static int netlink_talk_filter (struct sockaddr_nl *snl, struct nlmsghdr *h) { - zlog_warn ("netlink_talk: ignoring message type 0x%04x", h->nlmsg_type); + if (IS_ZEBRA_DEBUG_KERNEL) + zlog_debug ("netlink_talk: ignoring message type 0x%04x", h->nlmsg_type); return 0; }