From c9ba3224f13758c4cefbfe01afdd6eac38aba720 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 15 Jul 2009 19:25:15 +0000 Subject: [PATCH] update to use _xcatpreprocessed variable git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Scope.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Scope.pm b/perl-xCAT/xCAT/Scope.pm index 583666552..f460e3d7d 100644 --- a/perl-xCAT/xCAT/Scope.pm +++ b/perl-xCAT/xCAT/Scope.pm @@ -7,12 +7,14 @@ sub get_broadcast_scope { $req = shift; } $callback = shift; - if ($req->{_xcatdest}) { return [$req]; } #Exit if the packet has been preprocessed in its history + if ($req->{_xcatpreprocessed}->[0] == 1) { return [$req]; } + #Exit if the packet has been preprocessed in its history my @requests = ({%$req}); #Start with a straight copy to reflect local instance foreach (xCAT::Utils->getSNList()) { if (xCAT::Utils->thishostisnot($_)) { my $reqcopy = {%$req}; $reqcopy->{'_xcatdest'} = $_; + $reqcopy->{_xcatpreprocessed}->[0] = 1; push @requests,$reqcopy; } }