Commit 3ad9d48f authored by Shane Kerr's avatar Shane Kerr
Browse files

Bug in decoding certain options fixed.

See RT ticket #17188 for more.
parent 109e00db
......@@ -74,6 +74,9 @@ suggested fixes to <dhcp-users@isc.org>.
- Compilation with DLPI and -Werror has been repaired.
- Error in decoding IA_NA option if multiple interfaces are present
fixed by Marcus Goller.
Changes since 4.0.0a2
- Fix for startup where there are no IPv4 addresses on an interface.
......
......@@ -244,7 +244,7 @@ int parse_option_buffer (options, buffer, length, universe)
nop->data.buffer = NULL;
buffer_reference(&nop->data.buffer, bp, MDL);
nop->data.data = bp->data;
nop->data.data = bp->data + offset;
nop->data.len = len;
option_cache_reference(&op->next, nop, MDL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment