Update README.

This commit is contained in:
Christian Deacon
2025-03-02 20:54:59 -05:00
parent fee8ca8757
commit e1b0fec39e
2 changed files with 5 additions and 3 deletions

View File

@@ -240,7 +240,7 @@ int xdp_prog_main(struct xdp_md *ctx)
// Scan UDP header.
udph = data + sizeof(struct ethhdr) + (iph->ihl * 4);
// Check TCP header.
// Check UDP header.
if (unlikely(udph + 1 > (struct udphdr *)data_end))
{
return XDP_DROP;