Compare commits

..
Author SHA1 Message Date
Simon Kelley e28836bf45 Fix crash in DHCPv6 renew, introduced in refactor. 2013-03-06 21:22:22 +00:00
+2 -2
View File
@@ -798,8 +798,8 @@ static int dhcp6_no_relay(int msg_type, struct in6_addr *link_address, struct dh
}
if ((this_context != address6_available(context, req_addr, tagif)) ||
(this_context != address6_valid(context, req_addr, tagif)))
if ((this_context = address6_available(context, req_addr, tagif)) ||
(this_context = address6_valid(context, req_addr, tagif)))
{
get_context_tag(&state, this_context);