why is dhclient fqdn options processing & client_dns_update disabled (client->sent_options = 0L) ?
Martin Blapp
mb at imp.ch
Mon Aug 16 21:39:45 UTC 2004
Hi,
Do you mean a patch like this one ?
Martin
> sorry, but i wasn't aware of this bug until it was too late to
> include in 3.0.1.
>
Index: dhclient.c
===================================================================
RCS file: /home/ncvs/src/contrib/isc-dhcp/client/dhclient.c,v
retrieving revision 1.42
diff -u -r1.42 dhclient.c
--- dhclient.c 16 Aug 2004 21:26:04 -0000 1.42
+++ dhclient.c 16 Aug 2004 21:39:15 -0000
@@ -2065,6 +2065,7 @@
unsigned char *old_digest_loc;
struct option_cache *oc;
+ option_state_dereference (&client -> sent_options, MDL);
memset (&client -> packet, 0, sizeof (client -> packet));
if (client -> state == S_REQUESTING)
@@ -2095,7 +2096,6 @@
(struct data_string *)0,
client -> config -> vendor_space_name);
- option_state_dereference (&client -> sent_options, MDL);
if (client -> packet_length < BOOTP_MIN_LEN)
client -> packet_length = BOOTP_MIN_LEN;
More information about the dhcp-hackers
mailing list