Author: mzugec Date: Tue Mar 3 14:48:46 2009 New Revision: 55885 URL: http://svn.opensuse.org/viewcvs/yast?rev=55885&view=rev Log: apply forwarding on both IPv4 and IPv6 (bnc#479370) Modified: trunk/network/VERSION trunk/network/package/yast2-network.changes trunk/network/src/lan/help.ycp trunk/network/src/modules/Routing.ycp Modified: trunk/network/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/VERSION?rev=55885&r1=55884&r2=55885&view=diff ============================================================================== --- trunk/network/VERSION (original) +++ trunk/network/VERSION Tue Mar 3 14:48:46 2009 @@ -1 +1 @@ -2.18.14 +2.18.15 Modified: trunk/network/package/yast2-network.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/package/yast2-network.changes?rev=55885&r1=55884&r2=55885&view=diff ============================================================================== --- trunk/network/package/yast2-network.changes (original) +++ trunk/network/package/yast2-network.changes Tue Mar 3 14:48:46 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Mar 3 14:47:18 CET 2009 - mzugec@suse.cz + +- apply forwarding on both IPv4 and IPv6 (bnc#479370) +- 2.18.15 + +------------------------------------------------------------------- Tue Mar 3 10:13:05 CET 2009 - mzugec@suse.cz - fixed networking.rnc (bnc#480466) Modified: trunk/network/src/lan/help.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/help.ycp?rev=55885&r1=55884&r2=55885&view=diff ============================================================================== --- trunk/network/src/lan/help.ycp (original) +++ trunk/network/src/lan/help.ycp Tue Mar 3 14:48:46 2009 @@ -78,7 +78,7 @@ the device through which the traffic to the defined network will be routed, as well.\"-\" is an alias for any interface.</p> ") + /* Routing dialog help 2/2 */ -_("<p>Enable <b>IP Forwarding</b> if the system is a router.</p>"), +_("<p>Enable <b>IP Forwarding</b> if the system is a router. This will apply on both IPv4 and IPv6.</p>"), "dhcp_hostname": _("<p>If you are using DHCP to get an IP address, check whether you get Modified: trunk/network/src/modules/Routing.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/modules/Routing.ycp?rev=55885&r1=55884&r2=55885&view=diff ============================================================================== --- trunk/network/src/modules/Routing.ycp (original) +++ trunk/network/src/modules/Routing.ycp Tue Mar 3 14:48:46 2009 @@ -156,11 +156,15 @@ if(Forward) { SCR::Write(.sysconfig.sysctl.IP_FORWARD, "yes"); + SCR::Write(.sysconfig.sysctl.IPV6_FORWARD, "yes"); SCR::Execute(.target.bash, "echo 1 > /proc/sys/net/ipv4/ip_forward"); + SCR::Execute(.target.bash, "echo 1 > /proc/sys/net/ipv6/conf/all/forwarding"); } else { SCR::Write(.sysconfig.sysctl.IP_FORWARD, "no"); + SCR::Write(.sysconfig.sysctl.IPV6_FORWARD, "no"); SCR::Execute(.target.bash, "echo 0 > /proc/sys/net/ipv4/ip_forward"); + SCR::Execute(.target.bash, "echo 0 > /proc/sys/net/ipv6/conf/all/forwarding"); } sleep(sl); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org