mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-11 13:35:03 -04:00
Safety net
This commit is contained in:
parent
3a3dff93e1
commit
ab8c9534f6
@ -81,6 +81,9 @@ void network::ethernet::decode(network::interface_descriptor& interface, packet&
|
||||
case ether_type::UNKNOWN:
|
||||
logging::logf(logging::log_level::TRACE, "ethernet: Unhandled Packet Type: %u\n", uint64_t(switch_endian_16(ether_header->type)));
|
||||
break;
|
||||
default:
|
||||
logging::logf(logging::log_level::ERROR, "ethernet: Unhandled Packet Type in switch: %u\n", uint64_t(switch_endian_16(ether_header->type)));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user