diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2014-09-16 13:23:53 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-09-16 13:24:33 +0200 |
commit | 07f640f920c0ee05288e5e910b3db0d1d775288f (patch) | |
tree | 064e02c1a14901132170ef5a78045d842c8c2f4d | |
parent | 8fa4b26ff6547035da2c983da01f9b1417487c12 (diff) | |
download | initscripts-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-x | sysconfig/network-scripts/ifup-eth | 2 |
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 |