changeset 5165:edce7d4339b8 draft

privsep: Open the IPV6 ND socket when running IPv6 IPv6 RS could be turned off globally
author Roy Marples <roy@marples.name>
date Wed, 22 Apr 2020 16:57:40 +0100
parents c2323c46e72e
children a70f6ddefe3c
files src/privsep.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/privsep.c	Tue Apr 21 14:31:39 2020 +0100
+++ b/src/privsep.c	Wed Apr 22 16:57:40 2020 +0100
@@ -327,7 +327,7 @@
 
 	/* No point in spawning the generic network listener if we're
 	 * not going to use it. */
-	if (!(ctx->options & (DHCPCD_MASTER | DHCPCD_IPV6RS)))
+	if (!(ctx->options & (DHCPCD_MASTER | DHCPCD_IPV6)))
 		goto started;
 
 	switch (pid = ps_inet_start(ctx)) {