fix bug 3486467: rscan -z can not parse out the IP address for FSPs

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2012-02-10 07:32:54 +00:00
parent c536952cab
commit a3f3b3b46a

View File

@ -1645,6 +1645,8 @@ sub rscan_xml {
if (!$ignore) {
$href->{Node}->{$_} = $d;
} elsif (/^mpa$/ && $type eq "fsp") {
$href->{Node}->{ip} = $d;
}
}
@ -1734,6 +1736,8 @@ sub rscan_stanza {
if (!$ignore) {
$result .= "\t$_=$d\n";
} elsif (/^mpa$/ && $type eq "fsp") {
$result .= "\tip=$d\n";
}
}
}