set pad1 to NULL

This commit is contained in:
gonzalef 2020-04-27 17:25:53 +02:00
parent 723466fba8
commit ec754aec24
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ int ask_for_peers(int socket_num) {
// Send neighbour request TLV
tlv neighbour_req;
tlv.pad1 = NULL;
build_neighbour_req(&neighbour_req);
return send_single_tlv(&neighbour_req, &dest, socket_num);