From: Steven Barth Date: Fri, 17 Jul 2015 11:06:19 +0000 (+0200) Subject: dhcpv6: fix socket generation on relay master X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e033ee2846e782389c9c03a72f8bce5bfb1011a9;p=oweals%2Fodhcpd.git dhcpv6: fix socket generation on relay master --- 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",