X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fdhcpv6.c;h=4cd9e0293e0cb1390ebb6647c218cc51d02ebf8c;hp=81eae06059481a6b046eca711ab68f8552071fbe;hb=bc6c3ace738fd4eb28c06be533f6bbc75d0587a5;hpb=c5040fea540479b731b040986a9c3a62e34afc37 diff --git a/src/dhcpv6.c b/src/dhcpv6.c index 81eae06..4cd9e02 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -90,6 +90,9 @@ int setup_dhcpv6_interface(struct interface *iface, bool enable) if (iface->dhcpv6 == RELAYD_SERVER) setsockopt(sock, IPPROTO_IPV6, IPV6_ADD_MEMBERSHIP, &server, sizeof(server)); + if (iface->dhcpv6 != RELAYD_RELAY || !iface->master) + ndp_rqs_addr6_dump(); + iface->dhcpv6_event.uloop.fd = sock; iface->dhcpv6_event.handle_dgram = handle_dhcpv6; odhcpd_register(&iface->dhcpv6_event);