diff --git a/tcl/startup/rack.tcl b/tcl/startup/rack.tcl index 69b9193..cb8e2c9 100644 --- a/tcl/startup/rack.tcl +++ b/tcl/startup/rack.tcl @@ -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 }