mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-03 22:06:22 +00:00
exclude duplicate received nodes in runicast test
This commit is contained in:
parent
f701615afa
commit
70c0c0cd7e
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user