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:
daniceexi 2012-12-05 02:57:17 +00:00
parent a1e9904375
commit 80f583859f

View File

@ -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;