changeset 5278:ffa72e19fcb8 draft

Solaris: Fix sending RS probes
author Roy Marples <roy@marples.name>
date Fri, 29 May 2020 22:07:49 +0300
parents e60767dab375
children cab28576ec7e
files src/ipv6nd.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ipv6nd.c	Fri May 29 22:01:10 2020 +0300
+++ b/src/ipv6nd.c	Fri May 29 22:07:49 2020 +0300
@@ -364,6 +364,12 @@
 	}
 #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) {