summaryrefslogtreecommitdiff
path: root/libnm
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2019-03-15 09:41:51 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2019-03-15 11:15:37 +0100
commit47f1c931ee0140d9c04a5320e4462c11cce0d813 (patch)
tree766e53e1b7688d5fe38542fbd0178138b410ed6a /libnm
parentb38fbab080152a8628a165ff35281ad0625d1ebf (diff)
downloadNetworkManager-47f1c931ee0140d9c04a5320e4462c11cce0d813.tar.gz
libnm: fix dns-configuration property type
Fixes: a8d600525643 ('libnm: implement support for DNS manager properties') https://bugzilla.redhat.com/show_bug.cgi?id=1689055 (cherry picked from commit d867837d05a808ff90756a41a96f778846522465)
Diffstat (limited to 'libnm')
-rw-r--r--libnm/nm-client.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/libnm/nm-client.c b/libnm/nm-client.c
index 0f8cd77303..14bca3c39f 100644
--- a/libnm/nm-client.c
+++ b/libnm/nm-client.c
@@ -3701,15 +3701,10 @@ nm_client_class_init (NMClientClass *client_class)
G_PARAM_STATIC_STRINGS));
/**
- * NMClient:dns-configuration: (type GPtrArray(GVariant))
+ * NMClient:dns-configuration: (type GPtrArray(NMDnsEntry))
*
- * The current DNS configuration represented as an array of
- * dictionaries. Each dictionary has the "nameservers",
- * "priority" keys and, optionally, "interface" and "vpn".
- * "nameservers" is the list of DNS servers, "priority" their
- * relative priority, "interface" the interface on which these
- * servers are contacted, "vpn" a boolean telling whether the
- * configuration was obtained from a VPN connection.
+ * The current DNS configuration, represented as an array
+ * of #NMDnsEntry objects.
*
* Since: 1.6
**/