packages/ipv6/radvd/patches/100-RS-RA-warning-to-debug.patch
jow c19b4eb1f4 [packages] radvd: reduce log spam introduced by v1.8, it logs every RA it emits as warning. change it to a debug level message
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 20:19:51 +00:00

18 lines
510 B
Diff

--- 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);
}
}