DEV9: Sockets: Set Arp Hardware Type

This commit is contained in:
TheLastRar authored and lightningterror committed 2022-08-03 21:05:40 +02:00
1 parent b4d960e795
commit ee2cbc80b8
1 file changed
+1
+1
View File
@@ -390,6 +390,7 @@ bool SocketAdapter::send(NetPacket* pkt)
memcpy(arpRet->senderProtocolAddress.get(), arpPkt.targetProtocolAddress.get(), 4);
arpRet->op = 2,
arpRet->protocol = arpPkt.protocol;
arpRet->hardwareType = arpPkt.hardwareType;
EthernetFrame* retARP = new EthernetFrame(arpRet);
memcpy(retARP->destinationMAC, ps2MAC, 6);