clean up code so it compiles

SVN-Revision: 3711
lede-17.01
Mike Baker 2006-04-28 22:34:33 +00:00
parent 89693db3ba
commit 9e0cc6162c
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- 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;
}