commit | e28836bf456112e6f3c44c4d6c27bf545331fdbd | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Wed Mar 06 21:22:22 2013 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Wed Mar 06 21:22:22 2013 +0000 |
tree | 8fb15db3b3f7b7add80909cd833e93a5d465af7c | |
parent | a6ebfacf7bdd41524c6cf5fb4ee1326b6d772406 [diff] |
Fix crash in DHCPv6 renew, introduced in refactor.
diff --git a/src/rfc3315.c b/src/rfc3315.c index bf3d2a6..b3bf3cf 100644 --- a/src/rfc3315.c +++ b/src/rfc3315.c
@@ -798,8 +798,8 @@ } - 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);