Skip to content

[BUG] FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Qemu_mps2 stops working #1238

@laroche

Description

@laroche

Describe the bug
Running the demo app FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Qemu_mps2
stops working after recent commit 3436954. DHCP will not complete to receive an IP address.

Not sure if the TCP code needs again modifications or if the demo app needs some
adjustments.

Just for the record, with the following hack you can also get the demo app running again:

--- a/source/FreeRTOS_IPv4.c
+++ b/source/FreeRTOS_IPv4.c
@@ -449,7 +449,7 @@ enum eFrameProcessingResult prvAllowIPPacketIPv4( const struct xIP_PACKET * cons
                 /* The endpoint is not up, and the destination MAC address of the
                  * packet is not matching the endpoint's MAC address. Drop the
                  * packet. */
-                eReturn = eReleaseBuffer;
+                /* eReturn = eReleaseBuffer; */
             }
             else
             {

Target

  • qemu

Host

  • Debian 12 or Debian 13 (devel snapshot)

Expected behavior
DHCP should work for this FreeRTOS-TCP demo app.

Additional context
Thanks for FreeRTOS-TCP network source code.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions