--- a/tool/CommandEoe.cpp Wed Feb 24 16:27:11 2010 +0100
+++ b/tool/CommandEoe.cpp Wed Feb 24 17:24:20 2010 +0100
@@ -84,15 +84,17 @@
m.open(MasterDevice::Read);
m.getMaster(&master);
- if (doIndent) {
- cout << "Master" << dec << *mi << endl;
+ if (master.eoe_handler_count) {
+ if (doIndent) {
+ cout << "Master" << dec << *mi << endl;
+ }
+
+ cout << indent << "Interface Slave State "
+ << "RxBytes RxRate "
+ << "TxBytes TxRate TxQueue"
+ << endl;
}
- cout << indent << "Interface Slave State "
- << "RxBytes RxRate "
- << "TxBytes TxRate TxQueue"
- << endl;
-
for (i = 0; i < master.eoe_handler_count; i++) {
stringstream queue;