summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2004-02-16 16:46:19 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2004-02-16 16:46:19 +0000
commit2fdb9db2e8839891d304a31c21f83434048220d6 (patch)
tree6d0030d2db37ab448c9ce9484c9b8621db6b6171 /perl-install/standalone
parent6b46cf73703d95244bd34f4fc3429e177712e1d8 (diff)
downloaddrakx-2fdb9db2e8839891d304a31c21f83434048220d6.tar
drakx-2fdb9db2e8839891d304a31c21f83434048220d6.tar.gz
drakx-2fdb9db2e8839891d304a31c21f83434048220d6.tar.bz2
drakx-2fdb9db2e8839891d304a31c21f83434048220d6.tar.xz
drakx-2fdb9db2e8839891d304a31c21f83434048220d6.zip
check gateway entry
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakconnect1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index f95c5161c..2e5afcfb7 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -560,6 +560,7 @@ sub save_notebook {
$gui->{intf_bool}{HWADDR} and (bool2yesno($gui->{intf_bool}{HWADDR}->get_active) eq 'yes' ? ($intf->{HWADDR} = 'yes') : delete $intf->{HWADDR});
$intf->{BOOTPROTO} eq 'static' and (check_field($intf, 'IPADDR', 'NETMASK') or return 0);
+ check_field($netc, 'GATEWAY') or return 0;
1;
}