diff options
author | Ilya Ponetaev <iponetaev@dlink.ru> | 2014-09-13 20:56:14 +0100 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2014-09-13 20:56:14 +0100 |
commit | 976afc93e477aefd5986a968844cdd996cee1060 (patch) | |
tree | 5a02e0a53a0ebae13a30286148b69f70ee804d34 | |
parent | 7f68f82146beb3014597d7ed488d2e5e7b3615cb (diff) | |
download | dnsmasq-976afc93e477aefd5986a968844cdd996cee1060.tar.gz |
Set DHCPv6 message type when returning "use multicast".
-rw-r--r-- | src/rfc3315.c | 1 |
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"); |