fix for IPv6

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2010-06-18 09:54:32 +00:00
parent 5ea3254f9d
commit 109b74acf2

View File

@ -1009,6 +1009,8 @@ proc ping_server { full_path_name phandle } {
if { [string compare "$client_ip" "::1"] == 0 } {
#set macaddr [get_mac_addr $phandle]
set linklocal_ip [exec /opt/xcat/share/xcat/tools/mac2linklocal -m $mac_address]
} else {
set linklocal_ip $client_ip
}
set cmd(3) "ping $full_path_name:ipv6,$server_ip,$linklocal_ip,$gateway_ip\r"
} else {