Skip to content

Commit

Permalink
dnsmasq: stop false-positive no servers warning
Browse files Browse the repository at this point in the history
 servers file is being read async a bit later.
  • Loading branch information
themiron committed Aug 21, 2018
1 parent ea82390 commit 50fde07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/src/router/dnsmasq/src/dnsmasq.c
Expand Up @@ -824,7 +824,7 @@ int main (int argc, char **argv)
if (daemon->resolv_files && !daemon->resolv_files->is_default)
my_syslog(LOG_WARNING, _("warning: ignoring resolv-file flag because no-resolv is set"));
daemon->resolv_files = NULL;
if (!daemon->servers)
if (!daemon->servers && !daemon->servers_file)
my_syslog(LOG_WARNING, _("warning: no upstream servers configured"));
}

Expand Down

0 comments on commit 50fde07

Please sign in to comment.