summaryrefslogtreecommitdiffstats
path: root/src/ipv6nd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-05-29 22:07:49 +0300
committerRoy Marples <roy@marples.name>2020-05-29 22:07:49 +0300
commit20c1eb5dbe1cddc0ec4b6ea1955a51c638d7f205 (patch)
treede08eadaeb086679d311ead141dfb7d8977198a9 /src/ipv6nd.c
parent837af32bf91961453501019ffb725a2fc536fd9e (diff)
downloaddhcpcd-20c1eb5dbe1cddc0ec4b6ea1955a51c638d7f205.tar.xz
Solaris: Fix sending RS probes
Diffstat (limited to 'src/ipv6nd.c')
-rw-r--r--src/ipv6nd.c6
1 files changed, 6 insertions, 0 deletions
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) {