chiark / gitweb /
sd-dhcp: refactor parse_options
authorTom Gundersen <teg@jklm.no>
Tue, 20 May 2014 11:07:19 +0000 (13:07 +0200)
committerTom Gundersen <teg@jklm.no>
Tue, 20 May 2014 21:31:22 +0000 (23:31 +0200)
commit32008a9636b3781112d349e77ee9e3279104b01c
treee514e89f89c5fb43151fbc746c67cc6ff5577a85
parent20b958bf157dfb2f521b191ef7158035bcaa3003
sd-dhcp: refactor parse_options

Similar to the previous patch, exchange a length and a pointer with only one offset variable.
Also fix the type of the options to be uint8_t[], rather than uint8_t*.
src/libsystemd-network/dhcp-option.c