Commit 96957ef7 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Improve debugging message.

parent b5ca9970
......@@ -409,8 +409,8 @@ parse_packet(const unsigned char *from, struct network *net,
continue;
fail:
fprintf(stderr, "Couldn't parse packet (%d %d).\n",
message[0], message[1]);
fprintf(stderr, "Couldn't parse packet (%d, %d) from %s on %s.\n",
message[0], message[1], format_address(from), net->ifname);
goto done;
}
return;
......
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