packages/net/dhcp6/patches/02-gcc_lvalue.patch
florian 793b17f628 Port dhcp6 to -ng, now builds two packages : dhcp6-server and dhcp6-client
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-01 14:32:02 +00:00

12 lines
526 B
Diff

--- dhcp6-1.0/client/solicit.c 2025-06-28 23:21:40.000000000 -0700
+++ dhcp6-1.0-patched/client/solicit.c 2006-04-27 15:32:52.000000000 -0700
@@ -18,7 +18,7 @@
dhcp_message_ptr -> opt = add_client_id_option (interface_details);
opt_ptr = (struct OPTIONS *) dhcp_message_ptr -> opt;
- (struct OPTIONS *) ((struct DUID *) opt_ptr -> opt_data) -> opt = add_ia_option (interface_details);
+ ((struct DUID *) opt_ptr -> opt_data) -> opt = add_ia_option (interface_details);
return dhcp_message_ptr;
}