fixed the issue that tftp could not be started on sles10
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14551 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -1469,6 +1469,9 @@ sub enable_TFTPhpa | ||||
|   # get the version of TCP/IP protocol  | ||||
|   my $protocols; | ||||
|   my $v4only="-4 "; | ||||
|   if (xCAT::Utils->osver() =~ /^sle[sc]10/) { | ||||
|       $v4only = ""; | ||||
|   } | ||||
|   open($protocols,"<","/proc/net/protocols"); | ||||
|   if ($protocols) { | ||||
| 	my $line; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user