If the last entry in etc/metaservers is without an end of line mark, the test for EOF causes the line to be skipped.
Workaround is to add an end of line mark; i.e. echo >> etc/metaservers.
Change ntserv/solicit.c to process a line even if the end of line mark is missing, by moving the line which calls feof. Perhaps it should be before the call to fgets.
If the last entry in
etc/metaserversis without an end of line mark, the test for EOF causes the line to be skipped.Workaround is to add an end of line mark; i.e.
echo >> etc/metaservers.Change ntserv/solicit.c to process a line even if the end of line mark is missing, by moving the line which calls
feof. Perhaps it should be before the call tofgets.