From c1792f8834956d416dd35f98172bbf397d0ead4b 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') diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index 76377a7b..3638a6ee 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