fix rack selection
This commit is contained in:
@ -59,7 +59,8 @@ proc get_rack {{oldrack ""}} {
|
||||
}
|
||||
}
|
||||
}
|
||||
if {$mysubnet ne "office" && [llength $inmynet]} {
|
||||
set hostname [lindex [split [info hostname] .] 0]
|
||||
if {$mysubnet ne "office" && [llength $inmynet] && $hostname eq [result instrument]} {
|
||||
# if any rack is in the instrument subnet, racks in office net are not shown
|
||||
return $inmynet
|
||||
}
|
||||
|
Reference in New Issue
Block a user