Re: [systemd-devel] [PATCH 10/24] sd-dhcp6-client: Add basic DHCPv6 option handling
On Fri, Jun 13, 2014 at 04:45:00PM +0300, Patrik Flykt wrote: > +*optvalue = &(*buf)[4]; > +*buflen -= (*optlen + 4); > +(*buf) += (*optlen + 4); The parens on the right and left seem strange. Zbyszek ___ systemd-devel mailing l
[systemd-devel] [PATCH 10/24] sd-dhcp6-client: Add basic DHCPv6 option handling
Add option appending and parsing. DHCPv6 options are not aligned, thus the option handling code must be able to handle options starting at any byte boundary. Add a test case for the basic option handling. --- Makefile.am| 4 +- src/libsystemd-network/dhcp6-intern