projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03d76c5
)
dhcp: Handle proxy PAC option correctly
author
David Woodhouse
<dwmw2@infradead.org>
Tue, 7 Dec 2010 23:29:49 +0000
(23:29 +0000)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 9 Dec 2010 17:09:50 +0000
(18:09 +0100)
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.
gdhcp/common.c
patch
|
blob
|
history
diff --git
a/gdhcp/common.c
b/gdhcp/common.c
index
00817af
..
ff25dfe
100644
(file)
--- 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 },
};