Commit 93c769ce authored by Francis Dupont's avatar Francis Dupont
Browse files

fix dhcpv6_relay_forw inits

parent 8269561d
......@@ -5214,11 +5214,12 @@ dhcpv6_relay_forw(struct data_string *reply_ret, struct packet *packet) {
/*
* Initialize variables for early exit.
*/
memset(&enc_opt_data, 0, sizeof(enc_opt_data));
enc_packet = NULL;
memset(&enc_reply, 0, sizeof(enc_reply));
opt_state = NULL;
memset(&a_opt, 0, sizeof(a_opt));
memset(&packet_ero, 0, sizeof(packet_ero));
memset(&enc_reply, 0, sizeof(enc_reply));
memset(&enc_opt_data, 0, sizeof(enc_opt_data));
enc_packet = NULL;
/*
* Get our encapsulated relay message.
......
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