[packages] radvd: reduce log spam introduced by v1.8, it logs every RA it emits as...
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 20 Jul 2011 20:19:51 +0000 (20:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 20 Jul 2011 20:19:51 +0000 (20:19 +0000)
SVN-Revision: 27712

ipv6/radvd/Makefile
ipv6/radvd/patches/100-RS-RA-warning-to-debug.patch [new file with mode: 0644]

index ca43277..76eccf3 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=radvd
 PKG_VERSION:=1.8
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://v6web.litech.org/radvd/dist \
diff --git a/ipv6/radvd/patches/100-RS-RA-warning-to-debug.patch b/ipv6/radvd/patches/100-RS-RA-warning-to-debug.patch
new file mode 100644 (file)
index 0000000..8a9183a
--- /dev/null
@@ -0,0 +1,17 @@
+--- a/process.c
++++ b/process.c
+@@ -132,12 +132,12 @@ process(struct Interface *ifacel, unsign
+       if (icmph->icmp6_type == ND_ROUTER_SOLICIT)
+       {
+-              flog(LOG_WARNING, "received RS from %s", addr_str);
++              dlog(LOG_DEBUG, 2, "received RS from %s", addr_str);
+               process_rs(iface, msg, len, addr);
+       }
+       else if (icmph->icmp6_type == ND_ROUTER_ADVERT)
+       {
+-              flog(LOG_WARNING, "received RA from %s", addr_str);
++              dlog(LOG_DEBUG, 2, "received RA from %s", addr_str);
+               process_ra(iface, msg, len, addr);
+       }
+ }