2005-10-17 Robert Love <rml@novell.com>
* src/backends/NetworkManagerDebian.c, src/backends/NetworkManagerRedHat, src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf comment delimiter. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1028 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -436,7 +436,7 @@ static void set_ip4_config_from_resolv_conf (const char *filename, NMIP4Config *
|
||||
char *line = split_contents[i];
|
||||
|
||||
/* Ignore comments */
|
||||
if (!line || (line[0] == ';'))
|
||||
if (!line || (line[0] == ';') || (line[0] == '#'))
|
||||
continue;
|
||||
|
||||
line = g_strstrip (line);
|
||||
|
Reference in New Issue
Block a user