summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-07-17 10:46:07 +0200
committerSteven Barth <steven@midlink.org>2015-07-17 10:46:07 +0200
commit60bb0a1fc3e5c5c73fceedc26ebd7b8a2a608763 (patch)
tree4006d574871f74a689263b9e737203ddfb6faace
parent053ca41a841aa4a1b1ce86ce6ee9f4304cba7027 (diff)
downloadodhcpd-60bb0a1fc3e5c5c73fceedc26ebd7b8a2a608763.tar.gz
dhcpv6: send relay-forward messages using correct socket
-rw-r--r--src/dhcpv6.c2
1 files changed, 1 insertions, 1 deletions
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);
}