1 |
vip-ire |
1.1 |
From 26ba04be55d38d4bc1351078b3a028d129531f6f Mon Sep 17 00:00:00 2001 |
2 |
|
|
From: Lukas Nykryn <lnykryn@redhat.com> |
3 |
|
|
Date: Tue, 16 Sep 2014 13:23:53 +0200 |
4 |
|
|
Subject: [PATCH] ifup: also set multicast_snooping after the bridge is up |
5 |
|
|
|
6 |
|
|
--- |
7 |
|
|
sysconfig/network-scripts/ifup-eth | 2 +- |
8 |
|
|
1 file changed, 1 insertion(+), 1 deletion(-) |
9 |
|
|
|
10 |
|
|
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth |
11 |
|
|
index ed1a47a..14ada9f 100755 |
12 |
|
|
--- a/sysconfig/network-scripts/ifup-eth |
13 |
|
|
+++ b/sysconfig/network-scripts/ifup-eth |
14 |
|
|
@@ -292,7 +292,7 @@ if [ "${TYPE}" = "Bridge" ]; then |
15 |
|
|
for arg in $BRIDGING_OPTS ; do |
16 |
|
|
key=${arg%%=*}; |
17 |
|
|
value=${arg##*=}; |
18 |
|
|
- if [ "${key}" = "multicast_router" -o "${key}" = "hash_max" ]; then |
19 |
|
|
+ if [ "${key}" = "multicast_router" -o "${key}" = "hash_max" -o "${key}" = "multicast_snooping" ]; then |
20 |
|
|
echo $value > /sys/class/net/${DEVICE}/bridge/$key |
21 |
|
|
fi |
22 |
|
|
done |
23 |
|
|
-- |
24 |
|
|
1.8.3.1 |
25 |
|
|
|