diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-12-07 07:32:06 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-07 07:32:06 +0100 |
commit | cc27196d76cbf700b81d628e037a9fcb8c043e18 (patch) | |
tree | 022af235220021a6affd15ff17163fefdf14ba0a | |
parent | 23058cd8fe2e6f17f7a062e5081a3cffa4ea9b5e (diff) | |
download | connman-cc27196d76cbf700b81d628e037a9fcb8c043e18.tar.gz connman-cc27196d76cbf700b81d628e037a9fcb8c043e18.tar.bz2 connman-cc27196d76cbf700b81d628e037a9fcb8c043e18.zip |
Switch to g_strcmp0 instead of g_ascii_strcasecmp
-rw-r--r-- | plugins/dhclient.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/dhclient.c b/plugins/dhclient.c index 0f7e768a..cb70ef73 100644 --- a/plugins/dhclient.c +++ b/plugins/dhclient.c @@ -290,15 +290,15 @@ static DBusHandlerResult dhclient_filter(DBusConnection *conn, if (g_strcmp0(key, "new_ip_address") == 0) { connman_dhcp_set_value(task->dhcp, "Address", value); - } else if (g_ascii_strcasecmp(key, "new_subnet_mask") == 0) { + } else if (g_strcmp0(key, "new_subnet_mask") == 0) { connman_dhcp_set_value(task->dhcp, "Netmask", value); - } else if (g_ascii_strcasecmp(key, "new_routers") == 0) { + } else if (g_strcmp0(key, "new_routers") == 0) { connman_dhcp_set_value(task->dhcp, "Gateway", value); - } else if (g_ascii_strcasecmp(key, "new_network_number") == 0) { + } else if (g_strcmp0(key, "new_network_number") == 0) { connman_dhcp_set_value(task->dhcp, "Network", value); - } else if (g_ascii_strcasecmp(key, "new_broadcast_address") == 0) { + } else if (g_strcmp0(key, "new_broadcast_address") == 0) { connman_dhcp_set_value(task->dhcp, "Broadcast", value); - } else if (g_ascii_strcasecmp(key, "new_domain_name_servers") == 0) { + } else if (g_strcmp0(key, "new_domain_name_servers") == 0) { connman_dhcp_set_value(task->dhcp, "Nameserver", value); } else if (g_ascii_strcasecmp(key, "new_domain_name") == 0) { } else if (g_ascii_strcasecmp(key, "new_domain_search") == 0) { |