summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-08-04 13:36:27 +0000
committerglebius <glebius@FreeBSD.org>2006-08-04 13:36:27 +0000
commit0e44cd0741967a8605258b0545e7881c34b05903 (patch)
tree94110a2631393882b53d30a860b3ee1c3ac76eca /sys/netgraph
parentf44836f7cb50445105e52da73e6dd444381905ad (diff)
downloadFreeBSD-src-0e44cd0741967a8605258b0545e7881c34b05903.zip
FreeBSD-src-0e44cd0741967a8605258b0545e7881c34b05903.tar.gz
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.
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_ether.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netgraph/ng_ether.c b/sys/netgraph/ng_ether.c
index 3deb863..9e3c5c3 100644
--- a/sys/netgraph/ng_ether.c
+++ b/sys/netgraph/ng_ether.c
@@ -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 */
OpenPOWER on IntegriCloud