mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-26 15:50:29 +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.') (cherry picked from commit61b1d1e963)
This commit is contained in:
parent
c28f9780d9
commit
3309af1a2e
1 changed files with 1 additions and 1 deletions
|
|
@ -6354,7 +6354,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