7968df2da1a0154d36270afa5c063c310f8fbb73
[packages.git] / ipv6 / dhcp6 / patches / 03-debug.patch
1 diff -urN orig/dhcp6-1.0/client/clilib.c dhcp6-1.0/client/clilib.c
2 --- orig/dhcp6-1.0/client/clilib.c      2025-06-28 23:21:40.000000000 +0200
3 +++ dhcp6-1.0/client/clilib.c   2005-12-13 13:42:43.000000000 +0100
4 @@ -554,7 +554,7 @@
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 @@
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));