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,7 +1946,9 @@ send_request_resend(const unsigned char *prefix, unsigned char plen, ...@@ -1946,7 +1946,9 @@ send_request_resend(const unsigned char *prefix, unsigned char plen,
record_resend(RESEND_REQUEST, prefix, plen, src_prefix, src_plen, seqno, record_resend(RESEND_REQUEST, prefix, plen, src_prefix, src_plen, seqno,
id, neigh->ifp, resend_delay); id, neigh->ifp, resend_delay);
} else { } else {
send_multihop_request(NULL, prefix, plen, src_prefix, src_plen, struct interface *ifp;
FOR_ALL_INTERFACES(ifp)
send_multihop_request(&ifp->buf, prefix, plen, src_prefix, src_plen,
seqno, id, 127); 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