From 976afc93e477aefd5986a968844cdd996cee1060 Mon Sep 17 00:00:00 2001 From: Ilya Ponetaev Date: Sat, 13 Sep 2014 20:56:14 +0100 Subject: Set DHCPv6 message type when returning "use multicast". --- src/rfc3315.c | 1 + 1 file changed, 1 insertion(+) 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"); -- cgit v1.2.1