request. We do this by removing any time information from the option
cache before building the reponse packet. Bug ticket 21092.
work on other platforms. Please report any problems and suggested fixes to
<dhcp-users@isc.org>.
+ Changes since 4.2.0b1
+
+- Prohibit including lease time information in a response to a DHCP INFORM
+ Bug ticket 21092.
+
Changes since 4.2.0a2
- Update the fsync code to work with the changes to the DDNS code. It now
/*
* Preload the option priority list with protocol-mandatory options.
* This effectively gives these options the highest priority.
+ * This provides the order for any available options, the option
+ * must be in the option cache in order to actually be included.
*/
priority_len = 0;
priority_list[priority_len++] = DHO_DHCP_MESSAGE_TYPE;
}
}
+ /*
+ * Remove any time options, per section 3.4 RFC 2131
+ */
+ delete_option(&dhcp_universe, options, DHO_DHCP_LEASE_TIME);
+ delete_option(&dhcp_universe, options, DHO_DHCP_RENEWAL_TIME);
+ delete_option(&dhcp_universe, options, DHO_DHCP_REBINDING_TIME);
+
/* Set up the option buffer... */
outgoing.packet_length =
cons_options (packet, outgoing.raw, (struct lease *)0,