Skip to content
Snippets Groups Projects
Commit ec504981 authored by Daniel Frejek's avatar Daniel Frejek
Browse files

Added "No route" error message

parent 8112897d
Branches master
No related tags found
No related merge requests found
......@@ -70,6 +70,7 @@ static int forward_packet(void *packet, uint8_t len)
if (hdr->next_hop > MESHNW_MAX_NODEID)
{
// no route found
printf("Can't forward packet, no route to %u!\n", hdr->dst);
return -ENOENT;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment