scstadmin, FC (NPIV): Make -write_config save the "node_name" and "parent_host" attributes (merge r4306 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4594 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-11-03 14:53:17 +00:00
parent 7cc3997fd5
commit 2ab470f796

View File

@@ -1447,8 +1447,8 @@ sub writeConfiguration {
$attribute_buff = "\t\tHW_TARGET\n\n";
}
$attribute_buff .= serializeKeyAttr("\t\t", $attributes);
$attribute_buff_nk .= serializeNkAttr("\t\t", $attributes) if ($nonkey);
$attribute_buff .= serializeKeyAttr("\t\t", $attributes, $tgt_attrs);
$attribute_buff_nk .= serializeNkAttr("\t\t", $attributes, $tgt_attrs) if ($nonkey);
$attribute_buff .= "\n" if ($attribute_buff);
$attribute_buff_nk .= "\n" if ($attribute_buff_nk);