[pve-devel] [PATCH] copy_bridge : copy multicast_snooping && multicast_querier

Alexandre Derumier aderumier at odiso.com
Thu Mar 14 13:29:15 CET 2013


If we create new vlan bridge, we want to copy multicast options if user have tunned them

Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 data/PVE/Network.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm
index fdf0133..e7521f7 100644
--- a/data/PVE/Network.pm
+++ b/data/PVE/Network.pm
@@ -89,7 +89,7 @@ sub copy_bridge_config {
     return if $br0 eq $br1;
 
     my $br_configs = [ 'ageing_time', 'stp_state', 'priority', 'forward_delay', 
-		       'hello_time', 'max_age'];
+		       'hello_time', 'max_age', 'multicast_snooping', 'multicast_querier'];
 
     foreach my $sysname (@$br_configs) {
 	eval {
-- 
1.7.10.4




More information about the pve-devel mailing list