projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60bb0a1
)
dhcpv6: fix socket generation on relay master
author
Steven Barth
<steven@midlink.org>
Fri, 17 Jul 2015 11:06:19 +0000
(13:06 +0200)
committer
Steven Barth
<steven@midlink.org>
Fri, 17 Jul 2015 11:06:19 +0000
(13:06 +0200)
src/dhcpv6.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6.c
b/src/dhcpv6.c
index 7442b2d9d6d0061eaf6cc2b34dcafeb037caf8eb..c62a08f9a761f3c58ace52e24d4eb8287b98e47b 100644
(file)
--- 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",