More /etc/hosts linecount fixing.

This commit is contained in:
Simon Kelley
2019-03-01 14:38:51 +00:00
parent df6636bff6
commit 065e5bb0b1

View File

@@ -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;
} }