mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	-Fix problem where makedns would fail without arguments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -113,7 +113,10 @@ sub process_request { | ||||
|         $callback->({error=>["No site table found"],errorcode=>[1]}); | ||||
|         return; | ||||
|     } | ||||
|     my @args = @{$request->{arg}}; | ||||
|     my @args=(); | ||||
|     if ($request->{$arg}) { | ||||
|         @args = @{$request->{arg}}; | ||||
|     } | ||||
|     (my $fent) = $sitetab->getAttribs({key=>'forwarders'},'value'); | ||||
|     if ($fent and defined $fent->{value}) { | ||||
|         @forwarders = split /[,:;]/,$fent->{value}; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user