svn commit: r223469 - head/sys/netgraph
Gleb Smirnoff
glebius at FreeBSD.org
Thu Jun 23 09:42:42 UTC 2011
Author: glebius
Date: Thu Jun 23 09:42:41 2011
New Revision: 223469
URL: http://svn.freebsd.org/changeset/base/223469
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 */
return (0);
More information about the svn-src-all
mailing list