summaryrefslogtreecommitdiff
path: root/Userland/Services/DHCPClient
diff options
context:
space:
mode:
authorAnotherTest <ali.mpfard@gmail.com>2021-02-15 21:35:12 +0330
committerAndreas Kling <kling@serenityos.org>2021-02-17 14:41:36 +0100
commitc0703f48feb39381acd37666debf79706b1d17e8 (patch)
treef556bb062071deb282211663ccb455fc22533898 /Userland/Services/DHCPClient
parent4043e770e5f00b7ed869226392599a94ccaf2000 (diff)
downloadserenity-c0703f48feb39381acd37666debf79706b1d17e8.zip
DHCPClient: Fix incorrect BOOTP Broadcast flag value
This is supposed to be the MSB, not the LSB.
Diffstat (limited to 'Userland/Services/DHCPClient')
-rw-r--r--Userland/Services/DHCPClient/DHCPv4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/DHCPClient/DHCPv4.h b/Userland/Services/DHCPClient/DHCPv4.h
index a773167683..c5738c6cf7 100644
--- a/Userland/Services/DHCPClient/DHCPv4.h
+++ b/Userland/Services/DHCPClient/DHCPv4.h
@@ -39,7 +39,7 @@
#include <string.h>
enum class DHCPv4Flags : u16 {
- Broadcast = 1,
+ Broadcast = 1 << 15,
/* everything else is reserved and must be zero */
};