]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Solaris: Fix sending RS probes
authorRoy Marples <roy@marples.name>
Fri, 29 May 2020 19:07:49 +0000 (22:07 +0300)
committerRoy Marples <roy@marples.name>
Fri, 29 May 2020 19:07:49 +0000 (22:07 +0300)
src/ipv6nd.c

index 3965ff496377b017f7ba07abf3b2b2b59ffdccec..9e89880bc41314a55be6bceae3ca3fbe2e53b44e 100644 (file)
@@ -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) {