mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-22 23:10:18 +01:00
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:
parent
4b8a9cc51b
commit
61b1d1e963
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue