/[smeserver]/rpms/initscripts/sme9/0001-ifup-also-set-multicast_snooping-after-the-bridge-is.patch
ViewVC logotype

Annotation of /rpms/initscripts/sme9/0001-ifup-also-set-multicast_snooping-after-the-bridge-is.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Sun Dec 23 04:47:40 2018 UTC (5 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
import initscript from centOS

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    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed