Warning when using --bind-interfaces and routeable addresses.
diff --git a/src/dnsmasq.c b/src/dnsmasq.c
index 83d77d8..a2b37dc 100644
--- a/src/dnsmasq.c
+++ b/src/dnsmasq.c
@@ -632,6 +632,8 @@
if (bind_fallback)
my_syslog(LOG_WARNING, _("setting --bind-interfaces option because of OS limitations"));
+
+ warn_bound_listeners();
if (!option_bool(OPT_NOWILD))
for (if_tmp = daemon->if_names; if_tmp; if_tmp = if_tmp->next)
@@ -856,6 +858,7 @@
enumerate_interfaces(0);
/* NB, is_dad_listeners() == 1 --> we're binding interfaces */
create_bound_listeners(0);
+ warn_bound_listeners();
}
#ifdef HAVE_LINUX_NETWORK