Skip to content

Commit

Permalink
Fix DHCP by fixing broadcast flags to use network byte order.
Browse files Browse the repository at this point in the history
  • Loading branch information
frehwagen committed Dec 30, 2024
1 parent 33ec552 commit 3bd8807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Driver/Socket/TCPIP/tcpipDhcp.asm
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ TcpipDhcpBuildPacket proc far

clr si
mov ds:[si].DM_op, BO_REQUEST
mov ds:[si].DM_flags, mask DMF_BROADCAST
mov ds:[si].DM_flags.low, (mask DMF_BROADCAST shr 8)

cmpdw es:[dhcpCookie], 0
jne alreadyHaveCookie
Expand Down

0 comments on commit 3bd8807

Please sign in to comment.