ifcfg-rh: clarify comment about unmanaged connections

This commit is contained in:
Dan Williams 2010-08-04 16:58:56 -05:00
parent 18fdf0c0a9
commit e7ca7d84d5

View file

@ -3325,7 +3325,10 @@ connection_from_file (const char *filename,
g_free (type);
/* Don't bother reading the connection fully if it's unmanaged */
/* Don't bother reading the connection fully if it's unmanaged. As a
* special-case, BRIDGE= and VLAN= connections are completely ignored so
* that ifup gets an error when it tries to ask NM about them.
*/
if (!connection || *unmanaged || ignore_connection) {
if (connection && ignore_connection) {
g_object_unref (connection);