From 9bb8b876822e0300f7a8f90bde1706b2343f5fa4 Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 12 Mar 2009 17:39:04 +0000 Subject: [PATCH] fix incorrect variable used to check sharedtftp attribute git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/pxe.pm | 2 +- xCAT-server/lib/xcat/plugins/yaboot.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,@_); }