Commit b43a24fb authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix crash in send_request_resend.

We can no longer call send_multihop_request with a NULL argument.
parent 715a9224
......@@ -1946,8 +1946,10 @@ send_request_resend(const unsigned char *prefix, unsigned char plen,
record_resend(RESEND_REQUEST, prefix, plen, src_prefix, src_plen, seqno,
id, neigh->ifp, resend_delay);
} else {
send_multihop_request(NULL, prefix, plen, src_prefix, src_plen,
seqno, id, 127);
struct interface *ifp;
FOR_ALL_INTERFACES(ifp)
send_multihop_request(&ifp->buf, prefix, plen, src_prefix, src_plen,
seqno, id, 127);
}
}
......
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