diff options
-rw-r--r-- | Userland/Services/DHCPClient/DHCPv4Client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/DHCPClient/DHCPv4Client.cpp b/Userland/Services/DHCPClient/DHCPv4Client.cpp index 945b2b54a4..61ee0c60fa 100644 --- a/Userland/Services/DHCPClient/DHCPv4Client.cpp +++ b/Userland/Services/DHCPClient/DHCPv4Client.cpp @@ -276,6 +276,7 @@ void DHCPv4Client::dhcp_request(DHCPv4Transaction& transaction, const DHCPv4Pack DHCPv4Packet& packet = builder.peek(); packet.set_op(DHCPv4Op::BootRequest); + packet.ciaddr() = offer.yiaddr(); packet.set_htype(1); // 10mb ethernet packet.set_hlen(sizeof(MACAddress)); packet.set_xid(offer.xid()); |