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:
parent
a1e9904375
commit
80f583859f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user