why is dhclient fqdn options processing & client_dns_update disabled (client->sent_options = 0L) ?

Martin Blapp mb at imp.ch
Mon Aug 16 22:01:00 UTC 2004


Hi,

> --- dhcp-3.0.1/client/dhclient.c.preserve-sent-options  2004-07-09 20:11:16.000000000 -0400
> +++ dhcp-3.0.1/client/dhclient.c        2004-08-16 17:50:41.922782000 -0400
> @@ -1945,6 +1945,9 @@
>                                     DHO_DHCP_SERVER_IDENTIFIER);
>         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 ||
> @@ -1968,7 +1971,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;
> __END PATCH__

Is this exactly what you will commit David ? Just at line 1949 ?
I'd like to fix this for FreeBSD5.3 too, and today we have source
code freeze.

Martin


More information about the dhcp-hackers mailing list