--- lib/PXElator/config.pm 2009/08/24 22:04:39 284 +++ lib/PXElator/config.pm 2009/08/25 14:55:39 285 @@ -180,8 +180,8 @@ } sub for_ip { - my $ip = shift; - my $deploy = client::conf( $ip => 'deploy', default => 'webconverger' ); + my $ip = shift || return; + my $deploy = client::conf( $ip => 'deploy' ) || return; eval $deploy . '($ip)'; # $tftp::dir = "$server::base_dir/tftp/$pxelinux::path_prefix"; }