https://bugzilla.novell.com/show_bug.cgi?id=572202 https://bugzilla.novell.com/show_bug.cgi?id=572202#c11 --- Comment #11 from Marius Tomaschewski <mt@suse.com> 2011-10-25 18:26:32 UTC --- (In reply to comment #10)
i am wondering.. why forwarding was enable? i enabled from yast "enable ip forwarding" but there never was "enable ipv6 forwarding"
I guess, there were/is only one switch in yast2 that enables it for both. $ grep forward $(rpm -ql yast2-network) .. /usr/share/YaST2/modules/Routing.ycp: * Enable IP forwarding /usr/share/YaST2/modules/Routing.ycp: SCR::Execute(.target.bash, sformat("echo %1 > /proc/sys/net/ipv4/ip_forward", /usr/share/YaST2/modules/Routing.ycp: SCR::Execute(.target.bash, sformat("echo %1 > /proc/sys/net/ipv6/conf/all/forward .. /usr/share/YaST2/modules/Routing.ycp: .. void WriteIPForwarding() { if ( SuSEFirewall::IsEnabled() ){ SuSEFirewall::SetSupportRoute( Forward ); } else { SCR::Write(.sysconfig.sysctl.IP_FORWARD, Forward ? "yes" : "no"); SCR::Write(.sysconfig.sysctl.IPV6_FORWARD, Forward ? "yes" : "no"); SCR::Write(.sysconfig.sysctl, nil); } SCR::Execute(.target.bash, sformat("echo %1 > /proc/sys/net/ipv4/ip_forward", Forward ? 1 : 0)); SCR::Execute(.target.bash, sformat("echo %1 > /proc/sys/net/ipv6/conf/all/forwarding", Forward ? 1 : 0)); } .. Exactly, yast2 has only one switch for both. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.