mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 21:50:17 +01:00
ifcfg-rh: don't write out IP config on Team connections
This commit is contained in:
parent
6b2579fcdf
commit
1796aae751
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue