svn commit: r266822 - head/sys/netipsec

Gleb Smirnoff glebius at FreeBSD.org
Thu May 29 03:44:46 UTC 2014


On Wed, May 28, 2014 at 11:01:20PM +0000, Bjoern A. Zeeb wrote:
B> Author: bz
B> Date: Wed May 28 23:01:20 2014
B> New Revision: 266822
B> URL: http://svnweb.freebsd.org/changeset/base/266822
B> 
B> Log:
B>   Use IPv4 statistics in ipsec4_process_packet() rather than the IPv6
B>   version.  This also unbreaks the NOINET6 builds after r266800.
B> 
B> Modified:
B>   head/sys/netipsec/ipsec_output.c
B> 
B> Modified: head/sys/netipsec/ipsec_output.c
B> ==============================================================================
B> --- head/sys/netipsec/ipsec_output.c	Wed May 28 19:59:27 2014	(r266821)
B> +++ head/sys/netipsec/ipsec_output.c	Wed May 28 23:01:20 2014	(r266822)
B> @@ -576,7 +576,7 @@ ipsec4_process_packet(
B>  		DPRINTF(("%s: unsupported protocol family %u\n",
B>  				 __func__, dst->sa.sa_family));
B>  			error = EPFNOSUPPORT;
B> -			IPSEC6STAT_INC(ips_out_inval);
B> +			IPSECSTAT_INC(ips_out_inval);
B>  			goto bad;
B>  		}
B>  		error = (*sav->tdb_xform->xf_output)(m, isr, NULL, i, off);
B> @@ -739,4 +739,4 @@ bad:
B>  		m_freem(m);
B>  	return error;
B>  }
B> -#endif /*INET6*/
B> \ No newline at end of file
B> +#endif /*INET6*/

Is there any reason to keep the line '\ No newline at end of file' when
it is no longer at the end of the file?

-- 
Totus tuus, Glebius.


More information about the svn-src-all mailing list