changeset 1695:03e32ad4e5a0 draft

Fix BSD restoring kernel RA.
author Roy Marples <roy@marples.name>
date Thu, 12 Jul 2012 09:36:51 +0000
parents 2f2700ce3dba
children 163ab06f2fe9
files platform-bsd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/platform-bsd.c	Thu Jul 12 09:19:14 2012 +0000
+++ b/platform-bsd.c	Thu Jul 12 09:36:51 2012 +0000
@@ -80,7 +80,7 @@
 restore_kernel_ra(void)
 {
 
-	if (!(options & DHCPCD_FORKED))
+	if (options & DHCPCD_FORKED)
 		return;
 	syslog(LOG_INFO, "restoring Kernel IPv6 RA support");
 	if (set_inet6_sysctl(IPV6CTL_ACCEPT_RTADV, 1) == -1)