]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
copy encode_array() from dhcpv6
authorAlan T. DeKok <aland@freeradius.org>
Thu, 10 Mar 2022 22:22:22 +0000 (17:22 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 11 Mar 2022 15:41:06 +0000 (10:41 -0500)
commit9604555b5e5dd270d4d9a3fc7275819b7779eef4
treeb3c096ab5a0f64194108a0826d2df02efd1e702d
parent3fae3036aafeb8ed7ac4306d2decd79dc697a668
copy encode_array() from dhcpv6

- comment out dns_labels for now
- use vp->vp_length instead of fr_dhcpv6_option_len()
  we'll fix that later.
- use 8-bit length for string/octets, instead of 16-bit

It still doesn't split "too long" options but that can come next
src/protocols/dhcpv4/encode.c