From: Serge L. <sma...@us...> - 2011-07-06 03:43:57
|
Update of /cvsroot/devil-linux/build/config/etc/init.d In directory vz-cvs-3.sog:/tmp/cvs-serv32135 Modified Files: network Log Message: MAC spoofing/defining for a bridge is correct behavior. It might be necessary for MAC address fixation on bridge interface (otherwise bridge interface will use the lowest MAC address among the enslaved interfaces and during the adding/removing ports the bridge MAC address can be changed) Index: network =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/init.d/network,v retrieving revision 1.55 retrieving revision 1.56 diff -u -d -r1.55 -r1.56 --- network 16 Apr 2011 05:01:49 -0000 1.55 +++ network 6 Jul 2011 03:43:52 -0000 1.56 @@ -197,7 +197,7 @@ fi # MAC spoofing only on physical interfaces - if [ -n "$MAC" -a -z "$VLANID" -a -z "$BR_IF" ]; then + if [ -n "$MAC" -a -z "$VLANID" ]; then echo -n "Spoofing MAC address on $DEVICE" ip link set $DEVICE address $MAC evaluate_retval |