summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2013-03-06 21:22:22 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2013-03-06 21:22:22 +0000
commite28836bf456112e6f3c44c4d6c27bf545331fdbd (patch)
tree8fb15db3b3f7b7add80909cd833e93a5d465af7c
parenta6ebfacf7bdd41524c6cf5fb4ee1326b6d772406 (diff)
downloaddnsmasq-e28836bf456112e6f3c44c4d6c27bf545331fdbd.tar.gz
Fix crash in DHCPv6 renew, introduced in refactor.v2.66test18
-rw-r--r--src/rfc3315.c4
1 files changed, 2 insertions, 2 deletions
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 @@ 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);