summaryrefslogtreecommitdiff
path: root/gdhcp
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2010-12-07 23:29:49 +0000
committerSamuel Ortiz <sameo@linux.intel.com>2010-12-09 18:09:50 +0100
commitbf8cdb5ab9def0ee6570886146c400f0e408f3e4 (patch)
treed094a150b522898f531eedef76d44aaa2c876949 /gdhcp
parent03d76c59d9a59d23515e9f5d5374591886563f5f (diff)
downloadconnman-bf8cdb5ab9def0ee6570886146c400f0e408f3e4.tar.gz
connman-bf8cdb5ab9def0ee6570886146c400f0e408f3e4.tar.bz2
connman-bf8cdb5ab9def0ee6570886146c400f0e408f3e4.zip
dhcp: Handle proxy PAC option correctly
We're requesting the unofficial proxy option (252) but then throwing away the response because we don't recognise the type for it. This fixes proxy detection via DHCP.
Diffstat (limited to 'gdhcp')
-rw-r--r--gdhcp/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdhcp/common.c b/gdhcp/common.c
index 00817af8..ff25dfe8 100644
--- a/gdhcp/common.c
+++ b/gdhcp/common.c
@@ -52,6 +52,7 @@ static const DHCPOption client_options[] = {
{ OPTION_U16, 0x39 }, /* max-size */
{ OPTION_STRING, 0x3c }, /* vendor */
{ OPTION_STRING, 0x3d }, /* client-id */
+ { OPTION_STRING, 0xfc }, /* UNOFFICIAL proxy-pac */
{ OPTION_UNKNOWN, 0x00 },
};