mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	Failed to run dhcpd if tftpserver defined as <xcatmaster> in the network (#3223)
table
This commit is contained in:
		| @@ -2457,10 +2457,11 @@ sub addnet | ||||
|             { | ||||
|                 $tftp = $ent->{tftpserver}; | ||||
|             } | ||||
|             else | ||||
|             {    #presume myself to be it, dhcp no longer does this for us | ||||
|             if (!$tftp || ($tftp eq '<xcatmaster>')) | ||||
|             { | ||||
|                 $tftp = $myip; | ||||
|             } | ||||
|  | ||||
|             if ($ent and $ent->{gateway}) | ||||
|             { | ||||
|                 $gateway = $ent->{gateway}; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user