From 80f583859f9bbd93a92c5cb8c821653f8cf67623 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Wed, 5 Dec 2012 02:57:17 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/AAsn.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/AAsn.pm b/xCAT-server/lib/xcat/plugins/AAsn.pm index d05711624..5094a410e 100644 --- a/xCAT-server/lib/xcat/plugins/AAsn.pm +++ b/xCAT-server/lib/xcat/plugins/AAsn.pm @@ -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;