Skip to content

Commit

Permalink
revert back to old code - useqtip test SHOULD fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ProjectsByJackHe committed Feb 11, 2025
1 parent cf38283 commit 1c9fa0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/platform/datapath_raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ CxPlatDpRawRxEthernet(
//
// If we have UseTcp enabled, we should still support UDP type of packets.
//
uint8_t SocketType = (Socket->UseTcp && PacketChain->Reserved == L4_TYPE_TCP) ? L4_TYPE_TCP : L4_TYPE_UDP;
// uint8_t SocketType = (Socket->UseTcp && PacketChain->Reserved == L4_TYPE_TCP) ? L4_TYPE_TCP : L4_TYPE_UDP;

uint8_t SocketType = (Socket->UseTcp) ? L4_TYPE_TCP : L4_TYPE_UDP; // This is the old code

//
// Found a match. Chain and deliver contiguous packets with the same 4-tuple.
Expand Down

0 comments on commit 1c9fa0b

Please sign in to comment.