Commit cfcad42f authored by Simon Kelley's avatar Simon Kelley

Fix failure to start with ENOTSOCK

parent 3f2873d4
...@@ -31,7 +31,13 @@ version 2.67 ...@@ -31,7 +31,13 @@ version 2.67
want to continue to bind the aliases too, you need to add want to continue to bind the aliases too, you need to add
eg. --interface=eth0:0 to the config. eg. --interface=eth0:0 to the config.
Fix "failed to set SO_BINDTODEVICE on DHCP socket: Socket
operation on non-socket" error on startup with
configurations which have exactly one --interface option
and do RA but _not_ DHCPv6. Thanks to Trever Adams for the
bug report.
version 2.66 version 2.66
Add the ability to act as an authoritative DNS Add the ability to act as an authoritative DNS
server. Dnsmasq can now answer queries from the wider 'net server. Dnsmasq can now answer queries from the wider 'net
......
...@@ -248,7 +248,7 @@ int main (int argc, char **argv) ...@@ -248,7 +248,7 @@ int main (int argc, char **argv)
#endif #endif
#if defined(HAVE_LINUX_NETWORK) && defined(HAVE_DHCP6) #if defined(HAVE_LINUX_NETWORK) && defined(HAVE_DHCP6)
if (daemon->dhcp6) if (daemon->doing_dhcp6)
bindtodevice(daemon->dhcp6fd); bindtodevice(daemon->dhcp6fd);
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment