summaryrefslogtreecommitdiff
path: root/zebra/rt_netlink.c
diff options
context:
space:
mode:
authorhasso <hasso>2005-02-20 19:09:23 +0000
committerhasso <hasso>2005-02-20 19:09:23 +0000
commite8274dcde1bd0f0339393714d57c019e57a5b798 (patch)
tree24109f0de306036dcf7f8baf3f8d4252db81603c /zebra/rt_netlink.c
parent306541b31624a344db085bfee45e5d9343fc8dca (diff)
* rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
if we are not debugging.
Diffstat (limited to 'zebra/rt_netlink.c')
-rw-r--r--zebra/rt_netlink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c
index 1d6c658c..1aa99af0 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;
}