From 0ed79af945f2a12178c4b9280d11d5a571796c75 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Wed, 16 Sep 2015 13:49:12 +0200 Subject: ifup-eth: some bridge options are applied later --- sysconfig/network-scripts/ifup-eth | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup-eth') diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index bae388c8..c44c2aee 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -62,7 +62,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 # set LINKDELAY (used as timeout when calling check_link_down()) # to at least (${DELAY} * 2) + 7 if STP is enabled. This is the -- cgit v1.2.1