source: freewrt/package/dhcp6/patches/patch-client_clilib_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: 604 bytes
Line 
1$FreeWRT$
2--- w-dhcp6-1.0-1.orig/client/clilib.c Sat Jun 28 23:21:17 2025
3+++ w-dhcp6-1.0-1/client/clilib.c Tue Jul 25 10:37:06 2006
4@@ -554,7 +554,7 @@ u_int8_t convert_character_to_hex (char
5
6 void generate_trans_id (u_int32_t *trans_id)
7 {
8- extern u_int32_t g_trans_id;
9+ extern int g_trans_id;
10 time_t t;
11 srand (time (&t));
12 *trans_id = 0;
13@@ -890,9 +890,7 @@ void read_option (char *m, int index, in
14 break;
15
16 default :
17-#if DEBUG == 3
18 printf ("Unrecognized DUID type\n");
19-#endif
20 }
21
22 next_opt = (struct OPTIONS *) malloc (sizeof (struct OPTIONS));
Note: See TracBrowser for help on using the repository browser.