summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/resolvconf.c2
-rw-r--r--plugins/resolvfile.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/resolvconf.c b/plugins/resolvconf.c
index 814bbeb7..f81d1062 100644
--- a/plugins/resolvconf.c
+++ b/plugins/resolvconf.c
@@ -68,7 +68,7 @@ static int resolvconf_probe(struct connman_element *element)
internet = connman_element_create(NULL);
- internet->type = CONNMAN_ELEMENT_TYPE_INTERNET;
+ internet->type = CONNMAN_ELEMENT_TYPE_CONNECTION;
connman_element_register(internet, element);
diff --git a/plugins/resolvfile.c b/plugins/resolvfile.c
index 0920441c..54ad41b3 100644
--- a/plugins/resolvfile.c
+++ b/plugins/resolvfile.c
@@ -65,7 +65,7 @@ static int resolvfile_probe(struct connman_element *element)
internet = connman_element_create(NULL);
- internet->type = CONNMAN_ELEMENT_TYPE_INTERNET;
+ internet->type = CONNMAN_ELEMENT_TYPE_CONNECTION;
connman_element_register(internet, element);