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/tcp_input.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/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 70462f1..298dec1 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -105,9 +105,9 @@ struct tcpstat tcpstat; SYSCTL_STRUCT(_net_inet_tcp, TCPCTL_STATS, stats, CTLFLAG_RW, &tcpstat , tcpstat, "TCP statistics (struct tcpstat, netinet/tcp_var.h)"); -static int log_in_vain = 0; +static int tcp_log_in_vain = 0; SYSCTL_INT(_net_inet_tcp, OID_AUTO, log_in_vain, CTLFLAG_RW, - &log_in_vain, 0, "Log all incoming TCP connections"); + &tcp_log_in_vain, 0, "Log all incoming TCP connections"); static int blackhole = 0; SYSCTL_INT(_net_inet_tcp, OID_AUTO, blackhole, CTLFLAG_RW, @@ -714,7 +714,7 @@ findpcb: * but should either do a listen or a connect soon. */ if (inp == NULL) { - if (log_in_vain) { + if (tcp_log_in_vain) { #ifdef INET6 char dbuf[INET6_ADDRSTRLEN+2], sbuf[INET6_ADDRSTRLEN+2]; #else @@ -736,7 +736,7 @@ findpcb: strcpy(dbuf, inet_ntoa(ip->ip_dst)); strcpy(sbuf, inet_ntoa(ip->ip_src)); } - switch (log_in_vain) { + switch (tcp_log_in_vain) { case 1: if ((thflags & TH_SYN) == 0) break; |