mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-21 20:01:54 +00:00
More /etc/hosts linecount fixing.
This commit is contained in:
1 file changed
+1
@@ -1126,6 +1126,7 @@ int read_hostsfile(char *filename, unsigned int index, int cache_size, struct cr
|
|||||||
my_syslog(LOG_ERR, _("bad address at %s line %d"), filename, lineno);
|
my_syslog(LOG_ERR, _("bad address at %s line %d"), filename, lineno);
|
||||||
while (atnl == 0)
|
while (atnl == 0)
|
||||||
atnl = gettok(f, token);
|
atnl = gettok(f, token);
|
||||||
|
lineno += atnl;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user