set pad1 to NULL

This commit is contained in:
gonzalef 2020-04-27 17:25:53 +02:00
parent 723466fba8
commit ec754aec24

View File

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