From 109b74acf2c48bb36264931a30e95d583abce902 Mon Sep 17 00:00:00 2001 From: ligc Date: Fri, 18 Jun 2010 09:54:32 +0000 Subject: [PATCH] fix for IPv6 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/lpar_netboot.expect | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/sbin/lpar_netboot.expect b/xCAT-server/sbin/lpar_netboot.expect index f8ec75f4f..329b17dea 100644 --- a/xCAT-server/sbin/lpar_netboot.expect +++ b/xCAT-server/sbin/lpar_netboot.expect @@ -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 {