mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user