From: Roy Marples Date: Thu, 16 May 2013 19:02:14 +0000 (+0000) Subject: Set scope for DHCPv6 X-Git-Tag: v5.99.7~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50a966630fdd0cd694da46ed8004f488fa64c69a;p=thirdparty%2Fdhcpcd.git Set scope for DHCPv6 --- diff --git a/dhcp6.c b/dhcp6.c index 45224d97..aec60393 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -699,6 +699,7 @@ dhcp6_sendmessage(struct interface *ifp, void (*callback)(void *)) dhcp6_updateelapsed(ifp, state->send, state->send_len); to = alldhcp; + to.sin6_scope_id = ifp->index; sndhdr.msg_name = (caddr_t)&to; sndhdr.msg_iov[0].iov_base = (caddr_t)state->send; sndhdr.msg_iov[0].iov_len = state->send_len;