diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-12-09 23:43:21 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-12 11:43:34 -0500 |
commit | 290c7324ca6ed22bcb6f4d644765aefeb47dc9de (patch) | |
tree | 4eff4bddfe7bda4af7e954047fc000e68da7d748 /Makefile.am | |
parent | e1c244dea0248116a61152b3433981f1b90b2273 (diff) |
dhcp: Add test for discover DHCP packet creation
Set a fake MAC address and emulate raw packet sending. When the buffer
containing the Discover message is received, check selected IP and
UDP headers and compute IP header and UDP message checksums. Also
send the DHCP message for option parsing and expect a successful
outcome.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 7c155141be..5828ae19a3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3880,6 +3880,8 @@ test_dhcp_client_SOURCES = \ src/libsystemd-dhcp/dhcp-protocol.h \ src/systemd/sd-dhcp-client.h \ src/libsystemd-dhcp/dhcp-client.c \ + src/libsystemd-dhcp/dhcp-internal.h \ + src/libsystemd-dhcp/dhcp-option.c \ src/libsystemd-dhcp/test-dhcp-client.c test_dhcp_client_LDADD = \ |