Fix ipv6 test: use new node-id log string

This commit is contained in:
Simon Duquennoy 2018-05-18 14:07:53 -07:00
parent 9531b02a3a
commit 21657d1b37
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ while(1) {
YIELD();
log.log(time + " " + id + " "+ msg + "\n");
if(msg.contains("Node id is set to")) {
if(msg.contains("Node ID: ")) {
if(id == 1) {
write(sim.getMoteWithID(1), "rpl-set-root 1");
}

View File

@ -9,7 +9,7 @@ while(1) {
YIELD();
log.log(time + " " + id + " "+ msg + "\n");
if(msg.contains("Node id is set to")) {
if(msg.contains("Node ID: ")) {
if(id == 1) {
write(sim.getMoteWithID(1), "rpl-set-root 1");
}