proc StopPacketCaptureHlt { port } { puts "StopPacketCaptureHlt ..." set stopStatus [::ixia::packet_control \ -port_handle $port\ -action stop \ ] if {[keylget stopStatus status] != $::SUCCESS} { puts "\nError StopPacketCaptureHlt: $stopStatus\n" return 1 } return 0 }