set pad1 to NULL
This commit is contained in:
parent
723466fba8
commit
ec754aec24
@ -52,6 +52,7 @@ int ask_for_peers(int socket_num) {
|
|||||||
|
|
||||||
// Send neighbour request TLV
|
// Send neighbour request TLV
|
||||||
tlv neighbour_req;
|
tlv neighbour_req;
|
||||||
|
tlv.pad1 = NULL;
|
||||||
build_neighbour_req(&neighbour_req);
|
build_neighbour_req(&neighbour_req);
|
||||||
|
|
||||||
return send_single_tlv(&neighbour_req, &dest, socket_num);
|
return send_single_tlv(&neighbour_req, &dest, socket_num);
|
||||||
|
Loading…
Reference in New Issue
Block a user