]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
fix fr_dhcpv4_decode_option to return the correct values
authorAlan T. DeKok <aland@freeradius.org>
Tue, 15 Mar 2022 13:42:10 +0000 (09:42 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 15 Mar 2022 13:42:10 +0000 (09:42 -0400)
commit1de1257162126c8b9fbf6ffd4db8212dc8fcf628
treeffb1cd188989218f45decd5732035c8efb36d5be
parent8de88078d1a00b79202e5f20f854a48ba4b07b87
fix fr_dhcpv4_decode_option to return the correct values

we don't return the length of the decoded data, we return
however much we decoded in one option.
src/protocols/dhcpv4/decode.c
src/protocols/dhcpv4/encode.c