]> git.entuzijast.net Git - imunes.git/commitdiff
umjesto rucnog sastavljanja ifida, koristimo ngnodemap() kojeg nam je instantiate...
authorJosip Rodin <joy@numa-ubuntu-vm.(none)>
Sun, 13 Sep 2009 13:23:53 +0000 (15:23 +0200)
committerJosip Rodin <joy@numa-ubuntu-vm.(none)>
Sun, 13 Sep 2009 13:23:53 +0000 (15:23 +0200)
linux/appstart.tcl

index 16af1d0d3177dd70a1d8eb1bcf2867d84f335e95..0abb18e6d45d2c5d81112b90b1c3442e0888204d 100644 (file)
@@ -54,12 +54,11 @@ proc spawnShell { node cmd } {
 #   * iface -- interface name
 #****
 proc startethereal { node iface } {
-    upvar 0 ::cf::[set ::curcfg]::eid eid
-    global gui_unix
-    
-       # set interface "$iface@$eid\.$node"
-    # OpenVZ - lokalna sucelja u VE imaju drukciju nomenklaturu
-       set interface "to_[set node]_[set iface]"
+    #upvar 0 ::cf::[set ::curcfg]::eid eid
+    #set interface "$iface@$eid\.$node"
+    upvar 0 ::cf::[set ::curcfg]::ngnodemap ngnodemap
+    upvar 0 ::cf::[set ::curcfg]::[set node]::node_id node_id
+    set interface ngnodemap($iface@$node_id)
     
     nexec wireshark -i $interface -f " " &
 }