Hello,
I have the following two questions regarding some flow monitor code I got from 
a tutorial. Please find part of the code at the bottom.
1. I guess that "[$fcla lookup auto 0 0 $i]" takes into account each flow 
separately. But why the zeros there?
2. When I run my full code, it always prints the message "TEST". What does 
($flow == "") means and why is this happening?
Thanking you in advance,K.
set fcla [$fmon classifier]set flows [$fmon flows]set numflows [llength 
$flows]if {$numflows == 0} {      puts $monflow_file "No flows"} else {     for 
{set i 1} {$i <= $numflows} {incr i} {    set flow [$fcla lookup auto 0 0 $i]   
  if {$flow != ""} {           ...        } else {             puts "TEST"      
  }     }}                                        

Reply via email to