mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:58:13 +00:00
Kernel: Remove accidentally committed debugging code.
This commit is contained in:
parent
1678ac69ef
commit
a36eaeb18c
1 changed files with 0 additions and 10 deletions
|
@ -1922,16 +1922,6 @@ int Process::sys$setpgid(pid_t specified_pid, pid_t specified_pgid)
|
|||
|
||||
int Process::sys$ioctl(int fd, unsigned request, unsigned arg)
|
||||
{
|
||||
if (auto* e1000 = E1000NetworkAdapter::the()) {
|
||||
ARPPacket arp;
|
||||
arp.hardware_type = 1; // Ethernet
|
||||
arp.hardware_address_length = 6; // MAC length
|
||||
arp.protocol_type = 0x0800; // IPv4
|
||||
arp.protocol_address_length = 4; // IP length
|
||||
arp.operation = 1; // 1 (request)
|
||||
e1000->send(MACAddress(), arp);
|
||||
}
|
||||
|
||||
auto* descriptor = file_descriptor(fd);
|
||||
if (!descriptor)
|
||||
return -EBADF;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue