mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 09:40:17 +01:00
ifupdown: fix connection iterator
Fixes: 6aa66426a4 ('settings/ifupdown: merge eni_ifaces and connections hashes in plugin')
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/145
https://bugzilla.redhat.com/show_bug.cgi?id=1694912
This commit is contained in:
parent
5b5a768b69
commit
1dd67583e3
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ initialize (NMSettingsPlugin *plugin)
|
|||
GHashTableIter iter;
|
||||
|
||||
g_hash_table_iter_init (&iter, priv->eni_ifaces);
|
||||
while (g_hash_table_iter_next (&iter, NULL, (gpointer *) conn)) {
|
||||
while (g_hash_table_iter_next (&iter, NULL, (gpointer) &conn)) {
|
||||
if (conn) {
|
||||
_nm_settings_plugin_emit_signal_connection_added (NM_SETTINGS_PLUGIN (self),
|
||||
NM_SETTINGS_CONNECTION (conn));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue