From e033ee2846e782389c9c03a72f8bce5bfb1011a9 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 17 Jul 2015 13:06:19 +0200 Subject: dhcpv6: fix socket generation on relay master --- src/dhcpv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dhcpv6.c b/src/dhcpv6.c index 7442b2d..c62a08f 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -51,7 +51,7 @@ int setup_dhcpv6_interface(struct interface *iface, bool enable) } // Configure multicast settings - if (enable && iface->dhcpv6 && !iface->master) { + if (enable && iface->dhcpv6) { int sock = socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_UDP); if (sock < 0) { syslog(LOG_ERR, "Failed to create DHCPv6 server socket: %s", -- cgit v1.2.3