fixes compile for ldap module in php5
[openwrt/svn-archive/archive.git] / ipv6 / dhcp6 / patches / 02-gcc_lvalue.patch
1 --- dhcp6-1.0/client/solicit.c 2025-06-28 23:21:40.000000000 -0700
2 +++ dhcp6-1.0-patched/client/solicit.c 2006-04-27 15:32:52.000000000 -0700
3 @@ -18,7 +18,7 @@
4 dhcp_message_ptr -> opt = add_client_id_option (interface_details);
5
6 opt_ptr = (struct OPTIONS *) dhcp_message_ptr -> opt;
7 - (struct OPTIONS *) ((struct DUID *) opt_ptr -> opt_data) -> opt = add_ia_option (interface_details);
8 + ((struct DUID *) opt_ptr -> opt_data) -> opt = add_ia_option (interface_details);
9 return dhcp_message_ptr;
10 }
11