Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146074515
D24724.1779178593.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D24724.1779178593.diff
View Options
Index: sys/netinet6/ip6_forward.c
===================================================================
--- sys/netinet6/ip6_forward.c
+++ sys/netinet6/ip6_forward.c
@@ -115,13 +115,13 @@
/* XXX in6_ifstat_inc(rt->rt_ifp, ifs6_in_discard) */
if (V_ip6_log_time + V_ip6_log_interval < time_uptime) {
V_ip6_log_time = time_uptime;
- log(LOG_DEBUG,
+ nd6log((LOG_DEBUG,
"cannot forward "
"from %s to %s nxt %d received on %s\n",
ip6_sprintf(ip6bufs, &ip6->ip6_src),
ip6_sprintf(ip6bufd, &ip6->ip6_dst),
ip6->ip6_nxt,
- if_name(m->m_pkthdr.rcvif));
+ if_name(m->m_pkthdr.rcvif)));
}
m_freem(m);
return;
@@ -213,13 +213,13 @@
if (V_ip6_log_time + V_ip6_log_interval < time_uptime) {
V_ip6_log_time = time_uptime;
- log(LOG_DEBUG,
+ nd6log((LOG_DEBUG,
"cannot forward "
"src %s, dst %s, nxt %d, rcvif %s, outif %s\n",
ip6_sprintf(ip6bufs, &ip6->ip6_src),
ip6_sprintf(ip6bufd, &ip6->ip6_dst),
ip6->ip6_nxt,
- if_name(m->m_pkthdr.rcvif), if_name(nh->nh_ifp));
+ if_name(m->m_pkthdr.rcvif), if_name(nh->nh_ifp)));
}
if (mcopy)
icmp6_error(mcopy, ICMP6_DST_UNREACH,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 19, 8:16 AM (5 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28739346
Default Alt Text
D24724.1779178593.diff (1 KB)
Attached To
Mode
D24724: Hide forward messages in nd6log()
Attached
Detach File
Event Timeline
Log In to Comment