From: Josip Rodin Date: Sun, 13 Sep 2009 13:23:53 +0000 (+0200) Subject: umjesto rucnog sastavljanja ifida, koristimo ngnodemap() kojeg nam je instantiate... X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=2b699808f08c26d69d1840232cf8409f5446dc17;p=imunes.git umjesto rucnog sastavljanja ifida, koristimo ngnodemap() kojeg nam je instantiate vec konstruirao --- diff --git a/linux/appstart.tcl b/linux/appstart.tcl index 16af1d0..0abb18e 100644 --- a/linux/appstart.tcl +++ b/linux/appstart.tcl @@ -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 " " & }