Fix compiler warnings.

This commit is contained in:
Simon Kelley
2013-09-21 14:07:12 +01:00
parent 89500e31f1
commit 8f51a29137
2 changed files with 5 additions and 2 deletions

View File

@@ -114,6 +114,8 @@ void dhcp6_packet(time_t now)
unsigned short port;
struct in6_addr dst_addr;
memset(&dst_addr, 0, sizeof(dst_addr));
msg.msg_control = control_u.control6;
msg.msg_controllen = sizeof(control_u);
msg.msg_flags = 0;