summaryrefslogtreecommitdiff
path: root/Userland/Services/DHCPClient/DHCPv4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/DHCPClient/DHCPv4.cpp')
-rw-r--r--Userland/Services/DHCPClient/DHCPv4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/DHCPClient/DHCPv4.cpp b/Userland/Services/DHCPClient/DHCPv4.cpp
index 2806cf5bed..9abf5ed9a3 100644
--- a/Userland/Services/DHCPClient/DHCPv4.cpp
+++ b/Userland/Services/DHCPClient/DHCPv4.cpp
@@ -11,7 +11,7 @@ ParsedDHCPv4Options DHCPv4Packet::parse_options() const
{
ParsedDHCPv4Options options;
for (size_t index = 4; index < DHCPV4_OPTION_FIELD_MAX_LENGTH; ++index) {
- auto opt_name = *(const DHCPOption*)&m_options[index];
+ auto opt_name = *(DHCPOption const*)&m_options[index];
switch (opt_name) {
case DHCPOption::Pad:
continue;