]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-dhcp6-client: Add Advertise sending for test case
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 19 Jun 2014 12:39:54 +0000 (15:39 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 19 Jun 2014 12:44:44 +0000 (15:44 +0300)
commit5e256ea7d3d556b3a1fb5c1faa94ec6a8833e53e
tree2607c1813296f86342e314c5e31561ee56695de6
parent7246333cb803b03440d3bd0bdaa233564d09b5ae
sd-dhcp6-client: Add Advertise sending for test case

Enhance the test case by replying with an Advertise message to the
client. Copy the transaction id, IAID and DUID from the Solicit
message. Verify the Request message created by the DHCPv6 client
implementation and move the main loop exit to the end of the Request
message verification.
src/libsystemd-network/test-dhcp6-client.c