2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Bug in decoding certain options fixed.

See RT ticket #17188 for more.
This commit is contained in:
Shane Kerr
2007-10-04 12:14:42 +00:00
parent 109e00db7f
commit 3ad9d48f8c
2 changed files with 4 additions and 1 deletions

View File

@@ -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);