From 31182b2e5676319b0b9c8d5c1ef8eda85051de97 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Wed, 18 Apr 2012 21:54:30 -0700 Subject: Pipe DHCP vendor info towards framework. Bug: 6344821 Change-Id: Ia629cee7dbde00572f86b12ddbbc623c1d70603a --- dhcpcd-hooks/95-configured | 11 ++++++----- 1 file 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" ;; -- cgit v1.1