From: Roy Marples Date: Fri, 29 May 2020 19:07:49 +0000 (+0300) Subject: Solaris: Fix sending RS probes X-Git-Tag: v9.1.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20c1eb5dbe1cddc0ec4b6ea1955a51c638d7f205;p=thirdparty%2Fdhcpcd.git Solaris: Fix sending RS probes --- diff --git a/src/ipv6nd.c b/src/ipv6nd.c index 3965ff49..9e89880b 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -364,6 +364,12 @@ ipv6nd_sendrsprobe(void *arg) } #endif #ifdef __sun + if (state->nd_fd == -1) { + if (ipv6nd_openif(ifp) == -1) { + logerr(__func__); + return; + } + } s = state->nd_fd; #else if (ctx->nd_fd == -1) {