Fixed DHCP error with TXID being switched.

git-svn-id: https://spexeah.com:8443/svn/Asuro@1041 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron 2020-07-12 21:17:13 +00:00
parent 92aaa1e1a5
commit a51b022eef

View File

@ -429,7 +429,7 @@ begin
SendHeader:= createHeader(); SendHeader:= createHeader();
CopyIPv4(puint8(@Header^.Your_IP[0]), puint8(@SendHeader^.Client_IP[0])); CopyIPv4(puint8(@Header^.Your_IP[0]), puint8(@SendHeader^.Client_IP[0]));
CopyIPv4(puint8(@Header^.Server_IP[0]), puint8(@SendHeader^.Server_IP[0])); CopyIPv4(puint8(@Header^.Server_IP[0]), puint8(@SendHeader^.Server_IP[0]));
processHeader(Header); processHeader(SendHeader);
SendOptions:= newOptions(); SendOptions:= newOptions();
SendMsgType:= ord(TDHCPMessageType.REQUEST); SendMsgType:= ord(TDHCPMessageType.REQUEST);