]> git.puffer.fish Git - mirror/frr.git/commitdiff
* rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
authorhasso <hasso>
Sun, 20 Feb 2005 19:09:23 +0000 (19:09 +0000)
committerhasso <hasso>
Sun, 20 Feb 2005 19:09:23 +0000 (19:09 +0000)
  if we are not debugging.

zebra/ChangeLog
zebra/rt_netlink.c

index 95d072cbff8eb1ba3a1d4a26dc5c65a9b8ee2726..35d2aa877b80182fa73140597718570750c01a5f 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-20 Hasso Tepper <hasso at quagga.net>
+
+       * rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
+         if we are not debugging.
+
 2005-02-19 Paul Jakma <paul@dishone.st>
 
        * zserv.c: (zebra_read_ipv6) replace the char * arithmetic with
index 1d6c658cba540d0d9872ab9515e21291816f5b44..1aa99af0fbcaa65a1f2fb85e0977ecacd288a706 100644 (file)
@@ -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;
 }