Hi Gleb Smirnoff! 

On Thu, 23 Jun 2011 09:42:42 +0000 (UTC); Gleb Smirnoff <gleb...@freebsd.org> 
wrote:

> Log:
>   Be consistent with r160968: keep autoSrcAddr flag untouched when
>   node receives NGM_SHUTDOWN.
>   
>   Submitted by:       pluknet

> Modified:
>   head/sys/netgraph/ng_ether.c

> Modified: head/sys/netgraph/ng_ether.c
> ==============================================================================
> --- head/sys/netgraph/ng_ether.c      Thu Jun 23 09:40:46 2011        
> (r223468)
> +++ head/sys/netgraph/ng_ether.c      Thu Jun 23 09:42:41 2011        
> (r223469)
> @@ -718,7 +718,6 @@ ng_ether_shutdown(node_p node)
>               (void)ifpromisc(priv->ifp, 0);
>               priv->promisc = 0;
>       }
> -     priv->autoSrcAddr = 1;          /* reset auto-src-addr flag */
>       NG_NODE_REVIVE(node);           /* Signal ng_rmnode we are persisant */

Then manual page must also be updated as this was documented behaviour
in the SHUTDOWN section.

-- 
WBR, Vadim Goncharov. ICQ#166852181       mailto:vadim_nucli...@mail.ru
[Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight]
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to