mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
Kernel: Ignore IPv6 packets; log unknown Ethernet payload types
This commit is contained in:
committed by
Andreas Kling
parent
4a4e66b2d0
commit
5f86a979ea
@@ -126,6 +126,11 @@ void NetworkTask_main()
|
||||
case EtherType::IPv4:
|
||||
handle_ipv4(eth, packet.size());
|
||||
break;
|
||||
case EtherType::IPv6:
|
||||
// ignore
|
||||
break;
|
||||
default:
|
||||
kprintf("NetworkTask: Unknown ethernet type %#04x\n", eth.ether_type());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user