summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Ponetaev <iponetaev@dlink.ru>2014-09-13 20:56:14 +0100
committerSimon Kelley <simon@thekelleys.org.uk>2014-09-13 20:56:14 +0100
commit976afc93e477aefd5986a968844cdd996cee1060 (patch)
tree5a02e0a53a0ebae13a30286148b69f70ee804d34
parent7f68f82146beb3014597d7ed488d2e5e7b3615cb (diff)
downloaddnsmasq-976afc93e477aefd5986a968844cdd996cee1060.tar.gz
Set DHCPv6 message type when returning "use multicast".
-rw-r--r--src/rfc3315.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rfc3315.c b/src/rfc3315.c
index 9826003..3728c29 100644
--- a/src/rfc3315.c
+++ b/src/rfc3315.c
@@ -328,6 +328,7 @@ static int dhcp6_no_relay(struct state *state, int msg_type, void *inbuff, size_
(msg_type == DHCP6REQUEST || msg_type == DHCP6RENEW || msg_type == DHCP6RELEASE || msg_type == DHCP6DECLINE))
{
+ *outmsgtypep = DHCP6REPLY;
o1 = new_opt6(OPTION6_STATUS_CODE);
put_opt6_short(DHCP6USEMULTI);
put_opt6_string("Use multicast");