aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2015-09-16 13:49:12 +0200
committerLukas Nykryn <lnykryn@redhat.com>2015-10-27 13:13:06 +0100
commitdc8a35eedcb077506c5edb4238f9ed10db32ea7b (patch)
treef70a95bc887886871f2a6bc991e947da7e3251e2 /sysconfig/network-scripts
parent9da7fddd7e61aa8e1deecb28adfb3bee16a83a65 (diff)
downloadinitscripts-dc8a35eedcb077506c5edb4238f9ed10db32ea7b.tar
initscripts-dc8a35eedcb077506c5edb4238f9ed10db32ea7b.tar.gz
initscripts-dc8a35eedcb077506c5edb4238f9ed10db32ea7b.tar.bz2
initscripts-dc8a35eedcb077506c5edb4238f9ed10db32ea7b.tar.xz
initscripts-dc8a35eedcb077506c5edb4238f9ed10db32ea7b.zip
ifup-eth: some bridge options are applied later
Resolves: #1275543
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 24f37295..cd935db7 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -67,7 +67,9 @@ if [ "${TYPE}" = "Bridge" ]; then
for arg in $BRIDGING_OPTS ; do
key=${arg%%=*};
value=${arg##*=};
- echo $value > /sys/class/net/${DEVICE}/bridge/$key
+ if [ "${key}" != "multicast_router" -a "${key}" != "hash_max" -a "${key}" != "multicast_snooping" ]; then
+ echo $value > /sys/class/net/${DEVICE}/bridge/$key
+ fi
done
fi