exclude duplicate received nodes in runicast test

This commit is contained in:
fros4943 2009-03-03 12:21:06 +00:00
parent f701615afa
commit 70c0c0cd7e

View File

@ -7,7 +7,7 @@ nr_sent = 0;
while (nr_sent < 10) {
/* Count received packets */
if (msg.contains('received')) {
if (msg.contains('received') && !msg.contains('DUPLICATE')) {
nr_recv++;
log.log("RECV=" + nr_recv + ", sent=" + nr_sent + ", timedout=" + nr_timedout + "\n");
}