# IP port monitor_port
set exec_hosts [list \
- [list 192.168.1.100 2547 2548] \
- [list 10.0.0.1 1234 5678] \
- [list 10.10.10.10 9876 5432] ]
+ [list 192.168.1.100 2547 2548 false ] \
+ [list 10.0.0.1 1234 5678 false ] \
+ [list 127.0.0.1 2547 2548 true ] \
+ [list 10.10.10.10 9876 5432 false ] ]
+
+########
+#
+# active hosts should be automatically determined
+# but we read it from exec_hosts list
+#
+####
+set n [llength $exec_hosts]
+for { set i 0 } { $i <= $n } { incr i } {
+ set active_host($i) [lindex [lindex $exec_hosts $i] 3]
+}
#****v* imunes.tcl/editor_only
# NAME