mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 22:47:50 +00:00
nic_router: do not change ethernet header as hub
When forwarding domain-local traffic like a hub, the NIC router shouldn't modify packets at all. Fixes #3625
This commit is contained in:
parent
8d60bc11b5
commit
d56b21d329
@ -790,7 +790,6 @@ void Interface::_domain_broadcast(Ethernet_frame ð,
|
||||
Size_guard &size_guard,
|
||||
Domain &local_domain)
|
||||
{
|
||||
eth.src(_router_mac);
|
||||
local_domain.interfaces().for_each([&] (Interface &interface) {
|
||||
if (&interface != this) {
|
||||
interface.send(eth, size_guard);
|
||||
|
Loading…
Reference in New Issue
Block a user