diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-09-01 21:12:59 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-09-01 21:12:59 +0200 |
commit | 7f30feb2513f6a1609f291e4e9c647a08434d2c2 (patch) | |
tree | 391087c05f571de959a2c1755dfb21436b607b01 /plugins/resolvfile.c | |
parent | 85f79afa2392e6ef108812685b8a1901448c4ebb (diff) | |
download | connman-7f30feb2513f6a1609f291e4e9c647a08434d2c2.tar.gz connman-7f30feb2513f6a1609f291e4e9c647a08434d2c2.tar.bz2 connman-7f30feb2513f6a1609f291e4e9c647a08434d2c2.zip |
Fixup resolver plugins to use INET helpers
Diffstat (limited to 'plugins/resolvfile.c')
-rw-r--r-- | plugins/resolvfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/resolvfile.c b/plugins/resolvfile.c index 5ea3422d..0920441c 100644 --- a/plugins/resolvfile.c +++ b/plugins/resolvfile.c @@ -43,7 +43,7 @@ static int resolvfile_probe(struct connman_element *element) DBG("element %p name %s", element, element->name); connman_element_get_value(element, - CONNMAN_PROPERTY_TYPE_IPV4_NAMESERVER, &nameserver); + CONNMAN_PROPERTY_ID_IPV4_NAMESERVER, &nameserver); if (nameserver == NULL) return -EINVAL; @@ -63,7 +63,7 @@ static int resolvfile_probe(struct connman_element *element) close(fd); - internet = connman_element_create(); + internet = connman_element_create(NULL); internet->type = CONNMAN_ELEMENT_TYPE_INTERNET; |