chiark / gitweb /
test-dhcp6-client: Add a simple Information Request test case
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 10 Dec 2014 14:17:33 +0000 (16:17 +0200)
committerTom Gundersen <teg@jklm.no>
Wed, 10 Dec 2014 17:31:21 +0000 (18:31 +0100)
commitc4e8ceddccfbb14e475e74eb5c57ba32c3c6cf86
tree37767655598818902335a81cffcc5ecf08c0cc8e
parentbbfa43ca37df0718287c25a8e39ee7477ebf33f6
test-dhcp6-client: Add a simple Information Request test case

Start the DHCPv6 test case by sending an Information Request, verifying
the reply and continuing at once with the normal address acquisition
procedure. Reuse the DHCPv6 Solicit Reply so that the client code is
verified to ignore any erroneously added IPv6 address information.
src/libsystemd-network/sd-dhcp6-client.c
src/libsystemd-network/test-dhcp6-client.c