Skip to content

Commit 6fd8bd8

Browse files
committed
Specify Output plugin bytes stats to L4 layer size.
1 parent b87d97a commit 6fd8bd8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ipfixprobe.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -425,10 +425,10 @@ void finish(ipxp_conf_t &conf)
425425

426426
std::cout << "Output stats:" << std::endl <<
427427
std::setw(3) << "#" <<
428-
std::setw(10) << "biflows" <<
429-
std::setw(10) << "packets" <<
430-
std::setw(16) << "bytes" <<
431-
std::setw(10) << "dropped" <<
428+
std::setw(13) << "biflows" <<
429+
std::setw(13) << "packets" <<
430+
std::setw(20) << "bytes (L4)" <<
431+
std::setw(13) << "dropped" <<
432432
std::setw(7) << "status" << std::endl;
433433

434434
idx = 0;
@@ -442,10 +442,10 @@ void finish(ipxp_conf_t &conf)
442442
OutputStats stats = conf.output_stats[idx]->load();
443443
std::cout <<
444444
std::setw(3) << idx++ << " " <<
445-
std::setw(9) << stats.biflows << " " <<
446-
std::setw(9) << stats.packets << " " <<
447-
std::setw(15) << stats.bytes << " " <<
448-
std::setw(9) << stats.dropped << " " <<
445+
std::setw(12) << stats.biflows << " " <<
446+
std::setw(12) << stats.packets << " " <<
447+
std::setw(19) << stats.bytes << " " <<
448+
std::setw(12) << stats.dropped << " " <<
449449
std::setw(6) << status << std::endl;
450450
}
451451

0 commit comments

Comments
 (0)