diff options
author | Erwan Velu <erwan@mandriva.org> | 2003-06-18 13:13:01 +0000 |
---|---|---|
committer | Erwan Velu <erwan@mandriva.org> | 2003-06-18 13:13:01 +0000 |
commit | 1b813afc2bf39b48c10e71426eb80eb673f23992 (patch) | |
tree | 730bd2cf99851c579b90758eb06d28849e1acc91 | |
parent | e4c1c137731a97030a1f649f99f058cce88572a0 (diff) | |
download | drakx-backup-do-not-use-1b813afc2bf39b48c10e71426eb80eb673f23992.tar drakx-backup-do-not-use-1b813afc2bf39b48c10e71426eb80eb673f23992.tar.gz drakx-backup-do-not-use-1b813afc2bf39b48c10e71426eb80eb673f23992.tar.bz2 drakx-backup-do-not-use-1b813afc2bf39b48c10e71426eb80eb673f23992.tar.xz drakx-backup-do-not-use-1b813afc2bf39b48c10e71426eb80eb673f23992.zip |
IP forwarder could be empty (pixel)
-rw-r--r-- | perl-install/drakcluster/server_conf.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/drakcluster/server_conf.pm b/perl-install/drakcluster/server_conf.pm index 5ce9f1d09..c4c90056b 100644 --- a/perl-install/drakcluster/server_conf.pm +++ b/perl-install/drakcluster/server_conf.pm @@ -46,7 +46,7 @@ sub fields { [ DOMAINNAME => N("domain name use for administration of node"), check => sub { check_default(@_, $default_conf->{DOMAINNAME}, $current_conf->{DOMAINNAME}) } ], [ NISDOMAINNAME => N("nis domain name use for NIS"), check => \&check_non_empty ], [ DOMAINCOMP => N("domain name use for compute"), check => \&check_non_empty ], - [ IPOFFORWARDER => 'IP of Forwarder resolv ip out of zone ', check => sub { check_ip(@_) || @_ == undef } ], + [ IPOFFORWARDER => 'IP of Forwarder resolv ip out of zone ', check => sub { $_[0] && check_ip(@_) } ], [ DNSKEY => 'dnskey for the dns server', check => \&check_non_empty ], [ ADDSEARCH => 'ADDSEARCH ' . N("is needed if you want your cluster resolv out of zone ip") ], |