From 60bb0a1fc3e5c5c73fceedc26ebd7b8a2a608763 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 17 Jul 2015 10:46:07 +0200 Subject: [PATCH] dhcpv6: send relay-forward messages using correct socket --- src/dhcpv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.25.1