mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
More /etc/hosts linecount fixing.
This commit is contained in:
@@ -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