svn commit: r245814 - user/ae/inet6/sys/netinet6

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Jan 24 12:28:28 UTC 2013


On Tue, Jan 22, 2013 at 06:30:46PM +0000, Andrey V. Elsukov wrote:
> Author: ae
> Date: Tue Jan 22 18:30:46 2013
> New Revision: 245814
> URL: http://svnweb.freebsd.org/changeset/base/245814
> 
> Log:
>   Fix vim's autocompletions.
> 
> Modified:
>   user/ae/inet6/sys/netinet6/scope6.c
> 
> Modified: user/ae/inet6/sys/netinet6/scope6.c
> ==============================================================================
> --- user/ae/inet6/sys/netinet6/scope6.c	Tue Jan 22 18:27:19 2013	(r245813)
> +++ user/ae/inet6/sys/netinet6/scope6.c	Tue Jan 22 18:30:46 2013	(r245814)
> @@ -473,20 +473,20 @@ sa6_checkzone(struct sockaddr_in6 *sa6)
>  		 * actual value.
>  		 */
>  		if (IN6_IS_ADDR_LOOPBACK(&sa6->sin6_addr)) {
> -			if (sa6.sin6_scope_id == 0) {
> -				sa6.sin6_scope_id = in6_getlinkzone(V_loif);
> +			if (sa6->sin6_sin6_scope_id == 0) {

This doesn't look correct. One sin6 too many?

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-user/attachments/20130124/22d8a665/attachment.sig>


More information about the svn-src-user mailing list