mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
Kernel+Userland: Expose list of network adapters through /proc/netadapters.
Added a simple /bin/ifconfig program that just pretty-prints that file. :^)
This commit is contained in:
parent
264890bfc3
commit
9e0f7acfe5
6 changed files with 69 additions and 0 deletions
|
@ -10,6 +10,7 @@ LoopbackAdapter& LoopbackAdapter::the()
|
|||
|
||||
LoopbackAdapter::LoopbackAdapter()
|
||||
{
|
||||
set_interface_name("loop");
|
||||
set_ipv4_address({ 127, 0, 0, 1 });
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue