From: Steven Barth Date: Fri, 17 Jul 2015 08:46:07 +0000 (+0200) Subject: dhcpv6: send relay-forward messages using correct socket X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=60bb0a1fc3e5c5c73fceedc26ebd7b8a2a608763;p=oweals%2Fodhcpd.git dhcpv6: send relay-forward messages using correct socket --- diff --git a/src/dhcpv6.c b/src/dhcpv6.c index 7302d5d..7442b2d 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -532,5 +532,5 @@ static void relay_client_request(struct sockaddr_in6 *source, struct sockaddr_in6 dhcpv6_servers = {AF_INET6, htons(DHCPV6_SERVER_PORT), 0, ALL_DHCPV6_SERVERS, 0}; struct iovec iov[2] = {{&hdr, sizeof(hdr)}, {(void*)data, len}}; - odhcpd_send(iface->dhcpv6_event.uloop.fd, &dhcpv6_servers, iov, 2, master); + odhcpd_send(master->dhcpv6_event.uloop.fd, &dhcpv6_servers, iov, 2, master); }