scstadmin, FC, NPIV: Make -write_config save the "node_name" and "parent_host"

attributes.

Reported-by: Dimitri Puzin <max@psycast.de>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4306 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-05-17 15:08:57 +00:00
parent c569b7e8a1
commit e28130bb2f

View File

@@ -1442,8 +1442,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);