libnm: fix parsing "nsna_ping" team link watcher from GVariant
Fixes: ba4ce843fa
('libnm-core: add backend for GVariant de/serialization of link_watchers.')
This commit is contained in:
@@ -6357,7 +6357,7 @@ _nm_utils_team_link_watchers_from_variant (GVariant *value)
|
||||
} else {
|
||||
if (!g_variant_lookup (watcher_var, "target-host", "&s", &target_host))
|
||||
goto next;
|
||||
if (!g_variant_lookup (watcher_var, "init_wait", "i", &val1))
|
||||
if (!g_variant_lookup (watcher_var, "init-wait", "i", &val1))
|
||||
val1 = 0;
|
||||
if (!g_variant_lookup (watcher_var, "interval", "i", &val2))
|
||||
val2 = 0;
|
||||
|
Reference in New Issue
Block a user