Make 'client DNS forward update' working again which got broken in rev.

RC9 of dhclient 3.0.1. This fix will be part of dhclient 3.0.2. It is
also part of the official redhat package.

Submitted by:	Jason Vas Dias <jvdias@redhat.com>
Discussed on:	dhcp-hackers@isc.org
This commit is contained in:
mbr 2004-08-16 22:35:56 +00:00
parent 55ad7b7d6f
commit c3371ccc62

View File

@ -2073,6 +2073,9 @@ void make_request (client, lease)
else
oc = (struct option_cache *)0;
if (client->sent_options != 0L)
option_state_dereference (&client -> sent_options, MDL);
make_client_options (client, lease, &request, oc,
((client -> state == S_REQUESTING ||
client -> state == S_REBOOTING)
@ -2095,7 +2098,6 @@ void make_request (client, lease)
(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;