svn commit: r223469 - head/sys/netgraph
Vadim Goncharov
vadim_nuclight at mail.ru
Thu Jun 23 10:33:54 UTC 2011
Hi Gleb Smirnoff!
On Thu, 23 Jun 2011 09:42:42 +0000 (UTC); Gleb Smirnoff <glebius at 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_nuclight at mail.ru
[Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight]
More information about the svn-src-all
mailing list