mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 05:18:23 +02:00
ifcfg-rh: unmanaged connections should be invisible to ifup too (rh #619863)
The plugin does not expose them to NM, and it shouldn't expose them to ifup either. The world should be consistent :)
This commit is contained in:
parent
c72fbd6b87
commit
9bed26b856
1 changed files with 1 additions and 1 deletions
|
|
@ -544,7 +544,7 @@ impl_ifcfgrh_get_ifcfg_details (SCPluginIfcfg *plugin,
|
|||
}
|
||||
|
||||
connection = g_hash_table_lookup (priv->connections, in_ifcfg);
|
||||
if (!connection) {
|
||||
if (!connection || nm_ifcfg_connection_get_unmanaged_spec (connection)) {
|
||||
g_set_error (error,
|
||||
NM_SETTINGS_INTERFACE_ERROR,
|
||||
NM_SETTINGS_INTERFACE_ERROR_INVALID_CONNECTION,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue