summaryrefslogtreecommitdiff
path: root/plugins/ofono.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-12-20 10:55:04 -0800
committerMarcel Holtmann <marcel@holtmann.org>2009-12-20 10:56:11 -0800
commita84e4158ba5426674934d66d500a3e0906bbbc3a (patch)
tree80d153bbb280f87d32357b6012f3ce1e6eb4d69c /plugins/ofono.c
parent5a2da944baf83c569df0e450d3e10ff0411a3248 (diff)
downloadconnman-a84e4158ba5426674934d66d500a3e0906bbbc3a.tar.gz
connman-a84e4158ba5426674934d66d500a3e0906bbbc3a.tar.bz2
connman-a84e4158ba5426674934d66d500a3e0906bbbc3a.zip
Rename IP configuration methods to match specification
Diffstat (limited to 'plugins/ofono.c')
-rw-r--r--plugins/ofono.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ofono.c b/plugins/ofono.c
index 4a2b4d23..9aa71f06 100644
--- a/plugins/ofono.c
+++ b/plugins/ofono.c
@@ -1224,7 +1224,7 @@ static void update_settings(DBusMessageIter *array,
if (g_strcmp0(method, "static") == 0) {
parent->ipv4.method =
- CONNMAN_IPCONFIG_METHOD_STATIC;
+ CONNMAN_IPCONFIG_METHOD_MANUAL;
} else if (g_strcmp0(method, "dhcp") == 0) {
parent->ipv4.method =
@@ -1366,9 +1366,9 @@ static void pri_context_changed(DBusConnection *connection,
switch (parent->ipv4.method) {
case CONNMAN_IPCONFIG_METHOD_UNKNOWN:
- case CONNMAN_IPCONFIG_METHOD_IGNORE:
+ case CONNMAN_IPCONFIG_METHOD_OFF:
break;
- case CONNMAN_IPCONFIG_METHOD_STATIC:
+ case CONNMAN_IPCONFIG_METHOD_MANUAL:
if (static_network_set_connected(
pending_network, parent, active) < 0)
set_network_active(pending_network, FALSE);