net: bootp: Correct VCI string transmission
authorWalter Stoll <walter.stoll@duagon.com>
Tue, 12 Oct 2021 11:01:59 +0000 (11:01 +0000)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 23 Nov 2021 07:57:56 +0000 (09:57 +0200)
commitd4a660aafa12646c64eac2081978fb80cddc0e93
tree0a4898d94b5a6132a75465fc408ec359a8e5ba04
parent0997bb46aa8b8256ccec66f26bc7b2d0e2e60199
net: bootp: Correct VCI string transmission

The VCI string sent during bootp of U-Boot-SPL is corrupt. This is
because the byte counter is not adjusted within the bootp_extended()
function when the VCI string is added. We fix this.

Signed-off-by: Walter Stoll <walter.stoll@duagon.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
net/bootp.c