We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 807b424 commit b962780Copy full SHA for b962780
1 file changed
src/net/ethernet/ethernet.cpp
@@ -69,7 +69,9 @@ namespace net {
69
70
debug("<Ethernet OUT> Transmitting %i b, from %s -> %s. Type: 0x%hx\n",
71
pckt->size(), mac_.str().c_str(), dest.str().c_str(), type);
72
+#ifndef ARP_PASSTHROUGH
73
Expects(dest.major or dest.minor);
74
+#endif
75
76
// Populate ethernet header for each packet in the (potential) chain
77
// NOTE: It's assumed that chained packets are for the same destination
0 commit comments