diff options
author | Conrad Pankoff <deoxxa@fknsrs.biz> | 2019-08-22 00:52:50 +1000 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-08-21 17:10:34 +0200 |
commit | 286bafbb19a8c8278b44427b15fb21f86ee3db0c (patch) | |
tree | 4b3f4ee71dd3f51567a5d7e7dd7bc05b982c6b4b /Kernel/FileSystem | |
parent | af840af1cede9b0d69a9b3d4beebeedf1d3c8acc (diff) | |
download | serenity-286bafbb19a8c8278b44427b15fb21f86ee3db0c.zip |
Kernel: Implement link status in /proc/net/adapters
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r-- | Kernel/FileSystem/ProcFS.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/FileSystem/ProcFS.cpp b/Kernel/FileSystem/ProcFS.cpp index cc6a1d0f8a..9833bfdc9a 100644 --- a/Kernel/FileSystem/ProcFS.cpp +++ b/Kernel/FileSystem/ProcFS.cpp @@ -318,6 +318,7 @@ Optional<KBuffer> procfs$net_adapters(InodeIdentifier) obj.set("bytes_in", adapter.bytes_in()); obj.set("packets_out", adapter.packets_out()); obj.set("bytes_out", adapter.bytes_out()); + obj.set("link_up", adapter.link_up()); json.append(obj); }); return json.serialized<KBufferBuilder>(); |