summaryrefslogtreecommitdiff
path: root/src/dhcpv6.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-03-18 14:39:22 +0100
committerSteven Barth <steven@midlink.org>2014-03-18 14:39:22 +0100
commitaa894a5a8f31056582cd990982df1322a36a0f2b (patch)
tree4cb3ccc76eb1d321f13758f43fe38bd077685627 /src/dhcpv6.c
parent9c7c654cb2d5ac6ac536f603cd5a9372416e91da (diff)
downloadodhcp6c-aa894a5a8f31056582cd990982df1322a36a0f2b.tar.gz
Fix building with clang 3.4
Diffstat (limited to 'src/dhcpv6.c')
-rw-r--r--src/dhcpv6.c2
1 files changed, 1 insertions, 1 deletions
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) {