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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"