ifcfg-rh: don't write out IP config on Team connections

This commit is contained in:
Dan Winship 2014-04-10 16:13:18 -04:00
parent 6b2579fcdf
commit 1796aae751

View file

@ -362,7 +362,8 @@ utils_ignore_ip_config (NMConnection *connection)
* scripts just ignore it if it's there.
*/
if ( nm_setting_connection_is_slave_type (s_con, NM_SETTING_BOND_SETTING_NAME)
|| nm_setting_connection_is_slave_type (s_con, NM_SETTING_BRIDGE_SETTING_NAME))
|| nm_setting_connection_is_slave_type (s_con, NM_SETTING_BRIDGE_SETTING_NAME)
|| nm_setting_connection_is_slave_type (s_con, NM_SETTING_TEAM_SETTING_NAME))
return TRUE;
return FALSE;