summaryrefslogtreecommitdiff
path: root/Kernel/Net
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-23 01:22:38 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-23 01:42:04 +0200
commite51a5e2d5defad8d62f6cee07892821700b9e211 (patch)
treeb923f936c6e7a6b1b678fcccd270bfb84b25ecb7 /Kernel/Net
parent63f9b0d0dc5bdef241d7c84a1b3a9d2093bd5499 (diff)
downloadserenity-e51a5e2d5defad8d62f6cee07892821700b9e211.zip
Kernel: Rename some BlockerSets to foo_blocker_set
Cleanup after renaming BlockCondition to BlockerSet.
Diffstat (limited to 'Kernel/Net')
-rw-r--r--Kernel/Net/Routing.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Net/Routing.cpp b/Kernel/Net/Routing.cpp
index 89223cdcca..fbd752fc9a 100644
--- a/Kernel/Net/Routing.cpp
+++ b/Kernel/Net/Routing.cpp
@@ -80,13 +80,13 @@ protected:
}
};
-static Singleton<ARPTableBlockerSet> s_arp_table_block_condition;
+static Singleton<ARPTableBlockerSet> s_arp_table_blocker_set;
ARPTableBlocker::ARPTableBlocker(IPv4Address ip_addr, Optional<MACAddress>& addr)
: m_ip_addr(ip_addr)
, m_addr(addr)
{
- if (!add_to_blocker_set(*s_arp_table_block_condition))
+ if (!add_to_blocker_set(*s_arp_table_blocker_set))
m_should_block = false;
}
@@ -117,7 +117,7 @@ void update_arp_table(const IPv4Address& ip_addr, const MACAddress& addr, Update
if (update == UpdateArp::Delete)
table.remove(ip_addr);
});
- s_arp_table_block_condition->unblock(ip_addr, addr);
+ s_arp_table_blocker_set->unblock(ip_addr, addr);
if constexpr (ARP_DEBUG) {
arp_table().with_shared([&](const auto& table) {