summaryrefslogtreecommitdiff
path: root/Kernel/Net/LoopbackAdapter.h
diff options
context:
space:
mode:
authorMaciej Zygmanowski <sppmacd@pm.me>2021-07-26 12:59:01 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-27 00:28:12 +0200
commit9efeecf903d5f53c9beb4e4f76a47ad80e8c5ef7 (patch)
tree2fc9ce851708375b3dd53a084e969d20ec7a4656 /Kernel/Net/LoopbackAdapter.h
parentc31f085b8cd86aa8ac5e58cc62b802ae05c4b295 (diff)
downloadserenity-9efeecf903d5f53c9beb4e4f76a47ad80e8c5ef7.zip
Kernel: Make LoopbackAdapter always link up
Diffstat (limited to 'Kernel/Net/LoopbackAdapter.h')
-rw-r--r--Kernel/Net/LoopbackAdapter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Net/LoopbackAdapter.h b/Kernel/Net/LoopbackAdapter.h
index 046350772a..a30538c73e 100644
--- a/Kernel/Net/LoopbackAdapter.h
+++ b/Kernel/Net/LoopbackAdapter.h
@@ -22,6 +22,7 @@ public:
virtual void send_raw(ReadonlyBytes) override;
virtual StringView class_name() const override { return "LoopbackAdapter"; }
+ virtual bool link_up() override { return true; }
};
}