Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2010 01:38:21 +0400
From:      Maxim Dounin <mdounin@mdounin.ru>
To:        Randall Stewart <rrs@FreeBSD.org>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   Re: svn commit: r214397 - stable/8/sys/netinet
Message-ID:  <20101026213820.GK44164@mdounin.ru>
In-Reply-To: <201010261912.o9QJCbdq063723@svn.freebsd.org>
References:  <201010261912.o9QJCbdq063723@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!

On Tue, Oct 26, 2010 at 07:12:37PM +0000, Randall Stewart wrote:

> Author: rrs
> Date: Tue Oct 26 19:12:37 2010
> New Revision: 214397
> URL: http://svn.freebsd.org/changeset/base/214397
> 
> Log:
>   MFC:210600
>   
>   Fix the comment block that has the nice
>   table to really have the nice table :-)
> 
> ==============================================================================
> --- stable/8/sys/netinet/sctp_output.c	Tue Oct 26 19:11:09 2010	(r214396)
> +++ stable/8/sys/netinet/sctp_output.c	Tue Oct 26 19:12:37 2010	(r214397)
> @@ -2186,21 +2186,31 @@ sctp_is_ifa_addr_preferred(struct sctp_i
>  	/* dest_is_priv is true if destination is a private address */
>  	/* dest_is_loop is true if destination is a loopback addresses */
>  
> -	/*
> +	/**
>  	 * Here we determine if its a preferred address. A preferred address
>  	 * means it is the same scope or higher scope then the destination.
>  	 * L = loopback, P = private, G = global
> -	 * ----------------------------------------- src    |  dest | result
> -	 * ---------------------------------------- L     |    L  |    yes
> -	 * ----------------------------------------- P     |    L  |
> -	 * yes-v4 no-v6 ----------------------------------------- G     |
> -	 * L  |    yes-v4 no-v6 ----------------------------------------- L
> -	 * |    P  |    no ----------------------------------------- P     |
> -	 * P  |    yes ----------------------------------------- G     |
> -	 * P  |    no ----------------------------------------- L     |    G
> -	 * |    no ----------------------------------------- P     |    G  |
> -	 * no ----------------------------------------- G     |    G  |
> -	 * yes -----------------------------------------
> +	 * -----------------------------------------
> +         *    src    |  dest | result
> +         *  ----------------------------------------

Looks like it now has whitespace damage though (uses spaces as 
indentation).

Maxim Dounin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101026213820.GK44164>