Commit f9551b51 authored by eddietwo's avatar eddietwo

no click_chatter in RED

parent 12adb338
...@@ -196,7 +196,8 @@ RED::push(int, Packet *packet) ...@@ -196,7 +196,8 @@ RED::push(int, Packet *packet)
if (drop()) { if (drop()) {
packet->kill(); packet->kill();
_drops++; _drops++;
click_chatter("RED drop"); if (_drops == 1)
click_chatter("RED drop");
} else } else
return output(0).push(packet); return output(0).push(packet);
} }
......
...@@ -196,7 +196,8 @@ RED::push(int, Packet *packet) ...@@ -196,7 +196,8 @@ RED::push(int, Packet *packet)
if (drop()) { if (drop()) {
packet->kill(); packet->kill();
_drops++; _drops++;
click_chatter("RED drop"); if (_drops == 1)
click_chatter("RED drop");
} else } else
return output(0).push(packet); return output(0).push(packet);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment