mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-23 08:06:11 +00:00
IPv4: Move more stuff from IPv4Socket to TCPSocket.
This commit is contained in:
@@ -276,7 +276,7 @@ void handle_tcp(const EthernetFrameHeader& eth, int frame_size)
|
||||
);
|
||||
#endif
|
||||
|
||||
auto socket = IPv4Socket::from_tcp_port(tcp_packet.destination_port());
|
||||
auto socket = TCPSocket::from_port(tcp_packet.destination_port());
|
||||
if (!socket) {
|
||||
kprintf("handle_tcp: No TCP socket for port %u\n", tcp_packet.destination_port());
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user