summaryrefslogtreecommitdiff
path: root/plugins/dhclient.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-01-03 18:47:21 -0800
committerMarcel Holtmann <marcel@holtmann.org>2010-01-03 18:47:21 -0800
commit2f217e25d799ef351d4e8e06b0da83e72b2183f0 (patch)
treef02802519be4ec12fec9d5fdb30e546f2ef30cc8 /plugins/dhclient.c
parent3bac66a29d5e87874bfcd298a1a161805f3104db (diff)
downloadconnman-2f217e25d799ef351d4e8e06b0da83e72b2183f0.tar.gz
connman-2f217e25d799ef351d4e8e06b0da83e72b2183f0.tar.bz2
connman-2f217e25d799ef351d4e8e06b0da83e72b2183f0.zip
Add basic interfaces for automatic proxy configuration
Diffstat (limited to 'plugins/dhclient.c')
-rw-r--r--plugins/dhclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/dhclient.c b/plugins/dhclient.c
index 1a86fa4a..ed170ed7 100644
--- a/plugins/dhclient.c
+++ b/plugins/dhclient.c
@@ -87,6 +87,8 @@ static void dhclient_notify(struct connman_task *task,
connman_dhcp_set_value(dhcp, "Timeserver", value);
} else if (g_ascii_strcasecmp(key, "new_interface_mtu") == 0) {
connman_dhcp_set_value(dhcp, "MTU", value);
+ } else if (g_ascii_strcasecmp(key, "new_proxy_auto_config") == 0) {
+ connman_dhcp_set_value(dhcp, "PAC", value);
}
dbus_message_iter_next(&dict);