]> git.ipfire.org Git - people/ms/dnsmasq.git/blobdiff - src/dnsmasq.c
Fix failure to start with ENOTSOCK
[people/ms/dnsmasq.git] / src / dnsmasq.c
index 43b8cb1ba969f32b83a39c5b0d540ff778ea06a7..b0f984d1c90f7e70c1f602a5501f7b99c388a260 100644 (file)
@@ -248,7 +248,7 @@ int main (int argc, char **argv)
 #endif
 
 #if defined(HAVE_LINUX_NETWORK) && defined(HAVE_DHCP6)
-      if (daemon->dhcp6)
+      if (daemon->doing_dhcp6)
        bindtodevice(daemon->dhcp6fd);
 #endif
     }