Fixed newly-introduced compile-breaking bugs in the network code.

This commit is contained in:
OBattler
2019-11-14 21:22:54 +01:00
parent aed984c265
commit 841a1f67da
4 changed files with 20 additions and 6 deletions

View File

@@ -185,7 +185,7 @@ poll_thread(void *arg)
if (pcap == NULL) break;
/* Wait for the next packet to arrive. */
if (network_wait)
if (network_get_wait())
data = NULL;
else
data = (uint8_t *)f_pcap_next((void *)pcap, &h);