From 2b699808f08c26d69d1840232cf8409f5446dc17 Mon Sep 17 00:00:00 2001 From: Josip Rodin Date: Sun, 13 Sep 2009 15:23:53 +0200 Subject: [PATCH] umjesto rucnog sastavljanja ifida, koristimo ngnodemap() kojeg nam je instantiate vec konstruirao --- linux/appstart.tcl | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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 " " & } -- 2.39.5