mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 21:10:08 +01:00
core: fix constructing the IP4Config.Nameservers property
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1563
Fixes: c68e148b02 ('core: extend NML3ConfigData:nameserver to track DNS as string')
This commit is contained in:
parent
d960ef823d
commit
c22703b68d
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ get_property_ip4(GObject *object, guint prop_id, GValue *value, GParamSpec *pspe
|
|||
continue;
|
||||
|
||||
if (prop_id == PROP_IP4_NAMESERVERS)
|
||||
g_variant_builder_add(&builder, "u", &a);
|
||||
g_variant_builder_add(&builder, "u", a);
|
||||
else {
|
||||
GVariantBuilder nested_builder;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue