Turn off by default "feature" that overwrites MAC address

on output frames.

Many people were confused with not working CARP, ng_bridge(4)
and other subsystems, because ng_ether(4) overwritten source
MAC address.
This commit is contained in:
Gleb Smirnoff 2006-08-04 13:36:27 +00:00
parent 45c89f1e05
commit 447a8026ec

View File

@ -301,7 +301,6 @@ ng_ether_attach(struct ifnet *ifp)
NG_NODE_SET_PRIVATE(node, priv);
priv->ifp = ifp;
IFP2NG(ifp) = node;
priv->autoSrcAddr = 1;
priv->hwassist = ifp->if_hwassist;
/* Try to give the node the same name as the interface */