unit: Enable DNS

Avoid allocating in dns_init by enabling random source port.
This commit is contained in:
Erik Ekman
2020-07-04 14:24:40 +02:00
parent 8363c24e45
commit 5b7524e10e
3 changed files with 5 additions and 7 deletions

View File

@@ -6,9 +6,6 @@
#if !LWIP_STATS || !MEM_STATS
#error "This tests needs MEM-statistics enabled"
#endif
#if LWIP_DNS
#error "This test needs DNS turned off (as it mallocs on init)"
#endif
/* Setups/teardown functions */

View File

@@ -6,9 +6,6 @@
#if !LWIP_STATS || !MEM_STATS ||!MEMP_STATS
#error "This tests needs MEM- and MEMP-statistics enabled"
#endif
#if LWIP_DNS
#error "This test needs DNS turned off (as it mallocs on init)"
#endif
#if !LWIP_TCP || !TCP_QUEUE_OOSEQ || !LWIP_WND_SCALE
#error "This test needs TCP OOSEQ queueing and window scaling enabled"
#endif