tcp: copy port to listening tcb chilren

This commit is contained in:
Matheus
2026-09-29 09:05:17 -03:00
parent b617f11347
commit 9e028dc059
+1
View File
@@ -984,6 +984,7 @@ __attribute__((noreturn)) static void tcp_worker() {
newtcb->rcvwindow = TCB_RINGBUFFER_SIZE;
newtcb->rcvurgent = 0;
newtcb->irs = tcpheader->seq;
newtcb->port = tcb->port;
// add tcb to the connection table
if (tcbset(newtcb, &key, false)) {