Skip to content
Commit b2369a19 authored by Sean Edmond's avatar Sean Edmond Committed by Tom Rini
Browse files

net: dhcp6: Fix OPT_BOOTFILE_PARAM parsing



RFC 5970 states that OPT_BOOTFILE_PARAM (option 60) can be
multiple parameters that start with a 16-bit length field followed
by the parameter. For example:
[ param-len 1 (16-bits) ] [ parameter 1 (variable length) ]

This fix ensure we're considering "param-len 1" in the parsing.

Signed-off-by: default avatarSean Edmond <seanedmond@microsoft.com>
parent 5d260d08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment