Erik Ekman
|
76b4365aaa
|
Remove duplicate netif_dhcp_data() macro
Fix compilation of unit tests
|
2017-01-10 10:42:22 +01:00 |
|
goldsimon
|
0e07ed4b13
|
fixed bug #49676 (Possible endless loop when parsing dhcp options) & added unit test for that
|
2016-11-25 10:03:43 +01:00 |
|
Dirk Ziegelmeier
|
11386a26d9
|
Fix compile of DHCP unit test
|
2016-08-19 09:00:35 +02:00 |
|
Dirk Ziegelmeier
|
a8c8e08984
|
Minor: cleanups in unit test code
|
2016-08-18 13:02:59 +02:00 |
|
Dirk Ziegelmeier
|
7f60cb3889
|
Improve netif client data API for lwIP internal clients - these can use a compile-time constant to access their data now
|
2016-08-18 12:37:21 +02:00 |
|
Dirk Ziegelmeier
|
fa6a2d48cc
|
Fix DHCP unit test after my last changes
|
2016-08-18 06:09:02 +02:00 |
|
Dirk Ziegelmeier
|
36b9caed23
|
Fix compile of unit test
|
2016-08-11 23:54:59 +02:00 |
|
sg
|
a2fd68098e
|
minor: macros should not end with underscore(s)
|
2016-08-08 21:47:53 +02:00 |
|
Erik Ekman
|
efd3fb8f4e
|
Fix pedantic dhcp test error
../../../../lwip/test/unit/dhcp/test_dhcp.c:121:34: error: comma at end
of enumerator list [-Werror=edantic]
cc1: all warnings being treated as errors
|
2016-06-24 09:24:15 +02:00 |
|
Dirk Ziegelmeier
|
d133999e1d
|
Fix warnings in unit test code when compiling with stricter GCC settings
|
2016-06-23 22:30:37 +02:00 |
|
sg
|
767d0d9046
|
Fixed unit tests (compiler errors/warnings, coding style)
|
2015-08-03 20:41:49 +02:00 |
|
goldsimon
|
cf180b651b
|
fixed unit tests after changing ip_addr_t
|
2015-04-10 08:51:06 +02:00 |
|
goldsimon
|
896535fe87
|
Fixed dhcp unit tests after changing netif up/down handling
|
2015-03-06 07:38:51 +01:00 |
|
Erik Ekman
|
63038e0305
|
Restore DHCP relay test packet numbers
These were updated in commit e1225cec5f together with other fixes
without any clear reason, and cause the test to fail.
|
2014-08-20 21:33:58 +02:00 |
|
Simon Goldschmidt
|
dbd125c714
|
Fixed bug #35874 reserved identifier violation (removed leading underscores from header include guards)
|
2014-05-19 21:46:18 +02:00 |
|
Simon Goldschmidt
|
a80c4d147c
|
Unit test patch by Erik Ekman: use macro to store correct testcase name
|
2014-02-12 21:52:21 +01:00 |
|
Erik Ekman
|
ad66b2bf13
|
Don't mark arrays as const since they are modified by the test
|
2014-02-12 21:44:51 +01:00 |
|
Simon Goldschmidt
|
d237ec7e78
|
Changed C++ comments to C style
|
2013-01-11 21:27:45 +01:00 |
|
Henrik Persson
|
7e9f000d0b
|
Segfault in dhcp_parse_reply if no end marker
If no endmarker is present in a dhcp reply a null pointer is potentially
dereferenced.
Add fix and test case as proof of concept.
|
2012-09-19 22:11:56 +02:00 |
|
goldsimon
|
84d8760561
|
dhcp unit test: fixed 2 consts, use udp checksum 0x0000 in handcrafted packets so that CHECKSUM_CHECK_UDP==0 is not necessary
|
2012-03-25 17:18:58 +02:00 |
|
goldsimon
|
e1225cec5f
|
new dhcp unit test: fix compilation for strict C, made local functions static, made some variables and parameters const
|
2012-03-25 17:15:56 +02:00 |
|
Erik Ekman
|
679d3fd5b3
|
Add unit tests for DHCP
Three simple tests that test the basic functionality of the DHCP client.
They require that UDP checksums are off for now.
|
2012-03-25 15:34:31 +02:00 |
|