Author: mzugec Date: Thu Oct 1 15:22:57 2009 New Revision: 58887 URL: http://svn.opensuse.org/viewcvs/yast?rev=58887&view=rev Log: YaPI: fixed condition Modified: trunk/network/src/lan/YaPI/NETWORK.pm Modified: trunk/network/src/lan/YaPI/NETWORK.pm URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/YaPI/NETWORK.pm?rev=58887&r1=58886&r2=58887&view=diff ============================================================================== --- trunk/network/src/lan/YaPI/NETWORK.pm (original) +++ trunk/network/src/lan/YaPI/NETWORK.pm Thu Oct 1 15:22:57 2009 @@ -68,7 +68,7 @@ $gw = $args->{'route'}->{'default'}->{'via'}; if ($gw ne ""){ YaST::YCP::Import ("IP"); - unless (IP->Check4($gw) eq "") { + unless (IP->Check4($gw)) { $ret{'exit'} = -1; $ret{'error'} = IP->Valid4(); return \%ret; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org