aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-09-16 13:23:53 +0200
committerLukas Nykryn <lnykryn@redhat.com>2014-09-16 13:23:53 +0200
commit6574aa14ab569e5e9b74d8f66cbe0f648fb3b4e6 (patch)
treec1c01e0920bd36da8a314d4063af866e00c27c35
parentaf5e1fdabf743b71d28f6d9988c7cfc84befcbf6 (diff)
downloadinitscripts-6574aa14ab569e5e9b74d8f66cbe0f648fb3b4e6.tar
initscripts-6574aa14ab569e5e9b74d8f66cbe0f648fb3b4e6.tar.gz
initscripts-6574aa14ab569e5e9b74d8f66cbe0f648fb3b4e6.tar.bz2
initscripts-6574aa14ab569e5e9b74d8f66cbe0f648fb3b4e6.tar.xz
initscripts-6574aa14ab569e5e9b74d8f66cbe0f648fb3b4e6.zip
ifup: also set multicast_snooping after the bridge is up
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index f530364a..51f21e82 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -296,7 +296,7 @@ if [ "${TYPE}" = "Bridge" ]; then
for arg in $BRIDGING_OPTS ; do
key=${arg%%=*};
value=${arg##*=};
- if [ "${key}" = "multicast_router" -o "${key}" = "hash_max" ]; then
+ if [ "${key}" = "multicast_router" -o "${key}" = "hash_max" -o "${key}" = "multicast_snooping" ]; then
echo $value > /sys/class/net/${DEVICE}/bridge/$key
fi
done