Be consistent with r160968: keep autoSrcAddr flag untouched when

node receives NGM_SHUTDOWN.

Submitted by:	pluknet
This commit is contained in:
Gleb Smirnoff 2011-06-23 09:42:41 +00:00
parent 399e6543b2
commit cd5bdbcb4d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223469

View File

@ -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 */
return (0);