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:24:33 +0200
commit07f640f920c0ee05288e5e910b3db0d1d775288f (patch)
tree064e02c1a14901132170ef5a78045d842c8c2f4d
parent8fa4b26ff6547035da2c983da01f9b1417487c12 (diff)
downloadinitscripts-07f640f920c0ee05288e5e910b3db0d1d775288f.tar
initscripts-07f640f920c0ee05288e5e910b3db0d1d775288f.tar.gz
initscripts-07f640f920c0ee05288e5e910b3db0d1d775288f.tar.bz2
initscripts-07f640f920c0ee05288e5e910b3db0d1d775288f.tar.xz
initscripts-07f640f920c0ee05288e5e910b3db0d1d775288f.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 24f17d85..8c2f90fd 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