Commit 313934b3 by Juliusz Chroboczek

Deal with down networks in send_message.

1 parent c7789eb1
......@@ -402,6 +402,9 @@ send_message(struct network *net,
unsigned short seqno, unsigned short metric,
const unsigned char *address)
if(net->bufsize == 0)
start_message(net, 24);
accumulate_byte(net, type);
accumulate_byte(net, plen);
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!