source: freewrt/package/dhcp6/patches/patch-client_solicit_c@ ecb5fbe

freewrt_1_0 freewrt_2_0
Last change on this file since ecb5fbe was ecb5fbe, checked in by Thorsten Glaser <tg@…>, 19 years ago

two examples of regenerated patches,
one "normal" (zlib), one with WRKSRC=WRKDIR (dhcp6)

note: if there are object files and stuff like that
in WRKSRC, it goes ka-boom ;) so always do it like this:

TOPDIR=../.. gmake V=99 prepare
# patch the files
TOPDIR=../.. gmake update-patches
# review the patch files
TOPDIR=../.. gmake V=99 compile install

git-svn-id: svn://www.freewrt.org/trunk/freewrt@405 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 560 bytes
Line 
1$FreeWRT$
2--- w-dhcp6-1.0-1.orig/client/solicit.c Sat Jun 28 23:21:17 2025
3+++ w-dhcp6-1.0-1/client/solicit.c Tue Jul 25 10:37:07 2006
4@@ -18,7 +18,7 @@ struct DHCP_MESSAGE * create_solicit_mes
5 dhcp_message_ptr -> opt = add_client_id_option (interface_details);
6
7 opt_ptr = (struct OPTIONS *) dhcp_message_ptr -> opt;
8- (struct OPTIONS *) ((struct DUID *) opt_ptr -> opt_data) -> opt = add_ia_option (interface_details);
9+ ((struct DUID *) opt_ptr -> opt_data) -> opt = add_ia_option (interface_details);
10 return dhcp_message_ptr;
11 }
12
Note: See TracBrowser for help on using the repository browser.