From a84e4158ba5426674934d66d500a3e0906bbbc3a Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 20 Dec 2009 10:55:04 -0800 Subject: Rename IP configuration methods to match specification --- plugins/ofono.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/ofono.c') 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); -- cgit v1.2.3