Update the code that get the correct switch infor for the install nic

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15964 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2013-04-12 08:09:37 +00:00
parent 9d73e3a4fb
commit 3faab403aa

View File

@ -283,7 +283,7 @@ sub process_request {
unless ($firstmac) {
$firstmac = $mac;
}
if ($host eq $node) {
if (!$host || $host eq $node) {
$firstmac = $mac;
last;
}