diff options
author | Jeff Sharkey <jsharkey@android.com> | 2012-04-18 21:54:30 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2012-04-18 21:54:39 -0700 |
commit | 31182b2e5676319b0b9c8d5c1ef8eda85051de97 (patch) | |
tree | 142e5bd6a227f9c0ffb098d6c6358a2a77e970e0 /dhcpcd-hooks | |
parent | 7ba38eb2ba6ef9429943f5ac32aff1b56a5ffe4c (diff) | |
download | external_dhcpcd-31182b2e5676319b0b9c8d5c1ef8eda85051de97.zip external_dhcpcd-31182b2e5676319b0b9c8d5c1ef8eda85051de97.tar.gz external_dhcpcd-31182b2e5676319b0b9c8d5c1ef8eda85051de97.tar.bz2 |
Pipe DHCP vendor info towards framework.
Bug: 6344821
Change-Id: Ia629cee7dbde00572f86b12ddbbc623c1d70603a
Diffstat (limited to 'dhcpcd-hooks')
-rw-r--r-- | dhcpcd-hooks/95-configured | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/dhcpcd-hooks/95-configured b/dhcpcd-hooks/95-configured index 93f1c43..d67236a 100644 --- a/dhcpcd-hooks/95-configured +++ b/dhcpcd-hooks/95-configured @@ -7,11 +7,12 @@ setprop dhcp.${interface}.reason "${reason}" case "${reason}" in BOUND|INFORM|REBIND|REBOOT|RENEW|TIMEOUT) - setprop dhcp.${interface}.ipaddress "${new_ip_address}" - setprop dhcp.${interface}.gateway "${new_routers%% *}" - setprop dhcp.${interface}.mask "${new_subnet_mask}" - setprop dhcp.${interface}.leasetime "${new_dhcp_lease_time}" - setprop dhcp.${interface}.server "${new_dhcp_server_identifier}" + setprop dhcp.${interface}.ipaddress "${new_ip_address}" + setprop dhcp.${interface}.gateway "${new_routers%% *}" + setprop dhcp.${interface}.mask "${new_subnet_mask}" + setprop dhcp.${interface}.leasetime "${new_dhcp_lease_time}" + setprop dhcp.${interface}.server "${new_dhcp_server_identifier}" + setprop dhcp.${interface}.vendorInfo "${new_vendor_encapsulated_options}" setprop dhcp.${interface}.result "ok" ;; |