X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=src%2Fdhcpv6.c;h=c87d289e159687b03aa3fc87f1c9b98b3651c06d;hb=6c8109e0c77d5a54950ba607d1ec1f83d5efb5b7;hp=bf62b29767233e4dd77b828fa345c26796085b74;hpb=9c7c654cb2d5ac6ac536f603cd5a9372416e91da;p=odhcp6c.git diff --git a/src/dhcpv6.c b/src/dhcpv6.c index bf62b29..c87d289 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -248,7 +248,7 @@ static void dhcpv6_send(enum dhcpv6_msg type, uint8_t trid[3], uint32_t ecs) void *srv_id = odhcp6c_get_state(STATE_SERVER_ID, &srv_id_len); // Build IA_PDs - size_t ia_pd_entries, ia_pd_len = 0; + size_t ia_pd_entries = 0, ia_pd_len = 0; uint8_t *ia_pd; if (type == DHCPV6_MSG_SOLICIT) {