Commit 313934b3 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Deal with down networks in send_message.

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);
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