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:
Robert Love
2005-10-17 18:28:16 +00:00
committed by Robert Love
parent 2d747adc14
commit 60785e336d
4 changed files with 12 additions and 5 deletions

View File

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