diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-02-20 10:20:03 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-02-20 10:20:03 +0000 |
commit | b659d84f711c66eee5998a0be9e05fbd5eeaaac4 (patch) | |
tree | b13f1fab724b0efcf74d58f3e8cd061412c53142 /sys/netinet/udp_usrreq.c | |
parent | 5c6ebcbcafced5dd5685825ce56f947bd2fb6591 (diff) | |
download | FreeBSD-src-b659d84f711c66eee5998a0be9e05fbd5eeaaac4.zip FreeBSD-src-b659d84f711c66eee5998a0be9e05fbd5eeaaac4.tar.gz |
Rename two identically named log_in_vain variables: tcp_input.c's static
log_in_vain to tcp_log_in_vain, and udp_usrreq's global log_in_vain to
udp_log_in_vain.
MFC after: 1 week
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r-- | sys/netinet/udp_usrreq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 0e4687a..2743cf7 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -105,9 +105,9 @@ static int udpcksum = 1; SYSCTL_INT(_net_inet_udp, UDPCTL_CHECKSUM, checksum, CTLFLAG_RW, &udpcksum, 0, ""); -int log_in_vain = 0; +int udp_log_in_vain = 0; SYSCTL_INT(_net_inet_udp, OID_AUTO, log_in_vain, CTLFLAG_RW, - &log_in_vain, 0, "Log all incoming UDP packets"); + &udp_log_in_vain, 0, "Log all incoming UDP packets"); static int blackhole = 0; SYSCTL_INT(_net_inet_udp, OID_AUTO, blackhole, CTLFLAG_RW, &blackhole, 0, @@ -407,7 +407,7 @@ udp_input(struct mbuf *m, int off) inp = in_pcblookup_hash(&udbinfo, ip->ip_src, uh->uh_sport, ip->ip_dst, uh->uh_dport, 1, m->m_pkthdr.rcvif); if (inp == NULL) { - if (log_in_vain) { + if (udp_log_in_vain) { char buf[4*sizeof "123"]; strcpy(buf, inet_ntoa(ip->ip_dst)); |