MFC ng_ether.c rev. 1.61:
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:
parent
875ebde520
commit
9610a2f7c3
@ -34,7 +34,7 @@
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd February 14, 2005
|
||||
.Dd August 4, 2006
|
||||
.Dt NG_ETHER 4
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -160,7 +160,7 @@ all outgoing packets to have their source Ethernet
|
||||
address field overwritten with the device's unique Ethernet address.
|
||||
If this flag is set to zero, the source address in outgoing packets
|
||||
is not modified.
|
||||
The default setting for this flag is enabled.
|
||||
The default setting for this flag is disabled.
|
||||
.It Dv NGM_ETHER_GET_AUTOSRC Pq Li getautosrc
|
||||
Get the current value of the node's source address override flag.
|
||||
The returned value is always either one or zero.
|
||||
|
@ -302,7 +302,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 */
|
||||
|
Loading…
Reference in New Issue
Block a user