forked from enlightenment/efl
dont complain about comments in resolv.conf
SVN revision: 16257
This commit is contained in:
parent
e8973254f1
commit
6b56f53ea9
|
@ -121,7 +121,11 @@ ecore_con_dns_init(void)
|
|||
if (p2)
|
||||
*p2 = 0;
|
||||
|
||||
if (!strncmp(buf, "nameserver", 10))
|
||||
if (!strncmp(buf, ";", 1))
|
||||
{
|
||||
/* Ignore comment */
|
||||
}
|
||||
else if (!strncmp(buf, "nameserver", 10))
|
||||
{
|
||||
if (_server_count >= SERVERS) continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue