summaryrefslogtreecommitdiff
path: root/src/dns-manager
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2013-09-24 18:19:18 +0200
committerThomas Haller <thaller@redhat.com>2013-09-24 18:31:34 +0200
commit661e47311d1e9a30ece2319c822e8d1489f35e7e (patch)
tree8ae593978a5cc9a6f151af058f98f341a4122d52 /src/dns-manager
parent17607e74a2bfdd0cab3dcc7cbb21686f4c8ded96 (diff)
downloadNetworkManager-661e47311d1e9a30ece2319c822e8d1489f35e7e.tar.gz
core: add const qualifier to functions in nm-ip[46]-config
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'src/dns-manager')
-rw-r--r--src/dns-manager/nm-dns-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns-manager/nm-dns-utils.c b/src/dns-manager/nm-dns-utils.c
index a8ebbf45b2..0125107ee3 100644
--- a/src/dns-manager/nm-dns-utils.c
+++ b/src/dns-manager/nm-dns-utils.c
@@ -85,7 +85,7 @@ nm_dns_utils_get_ip4_rdns_domains (NMIP4Config *ip4)
}
for (i = 0; i < nm_ip4_config_get_num_routes (ip4); i++) {
- NMPlatformIP4Route *route = nm_ip4_config_get_route (ip4, i);
+ const NMPlatformIP4Route *route = nm_ip4_config_get_route (ip4, i);
add_ip4_to_rdns_array (route->network, domains);
}