mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Set DHCPv6 message type when returning "use multicast".
This commit is contained in:
committed by
Simon Kelley
parent
7f68f82146
commit
976afc93e4
@@ -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))
|
(msg_type == DHCP6REQUEST || msg_type == DHCP6RENEW || msg_type == DHCP6RELEASE || msg_type == DHCP6DECLINE))
|
||||||
|
|
||||||
{
|
{
|
||||||
|
*outmsgtypep = DHCP6REPLY;
|
||||||
o1 = new_opt6(OPTION6_STATUS_CODE);
|
o1 = new_opt6(OPTION6_STATUS_CODE);
|
||||||
put_opt6_short(DHCP6USEMULTI);
|
put_opt6_short(DHCP6USEMULTI);
|
||||||
put_opt6_string("Use multicast");
|
put_opt6_string("Use multicast");
|
||||||
|
|||||||
Reference in New Issue
Block a user