From 7fb96a1b9fff76538f8b32da9513dfb045bdbb90 Mon Sep 17 00:00:00 2001 From: yinle Date: Sun, 29 Jul 2012 13:41:23 +0000 Subject: [PATCH] Fix the mistake that removing callback from the SLP.pm git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/SLP.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-xCAT/xCAT/SLP.pm b/perl-xCAT/xCAT/SLP.pm index 0796ecb37..e0138fadb 100644 --- a/perl-xCAT/xCAT/SLP.pm +++ b/perl-xCAT/xCAT/SLP.pm @@ -141,9 +141,9 @@ sub dodiscover { } $rspcount++; $rethash{$peername} = $result; - #if ($args{Callback}) { - # $args{Callback}->($result); - #} + if ($args{Callback}) { + $args{Callback}->($result); + } } } @peerarray = ();