if (ifp->ctx->options & DHCPCD_PRIVSEP) {
if (ps_inet_opendhcp6(ia) == -1)
logerr(__func__);
- } else {
+ } else
#endif
+ {
if (ia->dhcp6_fd == -1)
ia->dhcp6_fd = dhcp6_openudp(ia->iface->index,
&ia->addr);
#define RETRANS_TIMER 1000 /* milliseconds */
#define DELAY_FIRST_PROBE_TIME 5 /* seconds */
+#ifdef __sun
+int ipv6nd_open(struct interface *);
+#else
int ipv6nd_open(struct dhcpcd_ctx *);
+#endif
void ipv6nd_recvmsg(struct dhcpcd_ctx *, struct msghdr *);
void ipv6nd_printoptions(const struct dhcpcd_ctx *,
const struct dhcp_opt *, size_t);