diff --git a/xCAT-server/lib/xcat/plugins/pxe.pm b/xCAT-server/lib/xcat/plugins/pxe.pm index 2f0321bdd..254b5ab7d 100644 --- a/xCAT-server/lib/xcat/plugins/pxe.pm +++ b/xCAT-server/lib/xcat/plugins/pxe.pm @@ -171,7 +171,7 @@ sub preprocess_request { my $stab = xCAT::Table->new('site'); my $req = shift; my $sent = $stab->getAttribs({key=>'sharedtftp'},'value'); - if ($sent and ($sent->{value} == 0 or $ent->{value} =~ /no/i)) { + if ($sent and ($sent->{value} == 0 or $sent->{value} =~ /no/i)) { $req->{'_disparatetftp'}=[1]; return xCAT::Scope->get_broadcast_scope($req,@_); } diff --git a/xCAT-server/lib/xcat/plugins/yaboot.pm b/xCAT-server/lib/xcat/plugins/yaboot.pm index 30ba0d952..79cc6dc0a 100644 --- a/xCAT-server/lib/xcat/plugins/yaboot.pm +++ b/xCAT-server/lib/xcat/plugins/yaboot.pm @@ -173,7 +173,7 @@ sub preprocess_request { my $req = shift; my $sent = $stab->getAttribs({key=>'sharedtftp'},'value'); - if ($sent and ($sent->{value} == 0 or $ent->{value} =~ /no/i)) { + if ($sent and ($sent->{value} == 0 or $sent->{value} =~ /no/i)) { $req->{'_disparatetftp'}=[1]; return xCAT::Scope->get_broadcast_scope($req,@_); }