diff options
author | Steven Barth <steven@midlink.org> | 2015-07-17 13:06:19 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-07-17 13:06:19 +0200 |
commit | e033ee2846e782389c9c03a72f8bce5bfb1011a9 (patch) | |
tree | a5f14c639856e46be578aea302dd7e71d0bf1f90 | |
parent | 60bb0a1fc3e5c5c73fceedc26ebd7b8a2a608763 (diff) |
dhcpv6: fix socket generation on relay master
-rw-r--r-- | src/dhcpv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |