mirror of https://github.com/PCSX2/pcsx2.git
DEV9: Sockets: Set Arp Hardware Type
This commit is contained in:
parent
b4d960e795
commit
ee2cbc80b8
|
@ -390,6 +390,7 @@ bool SocketAdapter::send(NetPacket* pkt)
|
||||||
memcpy(arpRet->senderProtocolAddress.get(), arpPkt.targetProtocolAddress.get(), 4);
|
memcpy(arpRet->senderProtocolAddress.get(), arpPkt.targetProtocolAddress.get(), 4);
|
||||||
arpRet->op = 2,
|
arpRet->op = 2,
|
||||||
arpRet->protocol = arpPkt.protocol;
|
arpRet->protocol = arpPkt.protocol;
|
||||||
|
arpRet->hardwareType = arpPkt.hardwareType;
|
||||||
|
|
||||||
EthernetFrame* retARP = new EthernetFrame(arpRet);
|
EthernetFrame* retARP = new EthernetFrame(arpRet);
|
||||||
memcpy(retARP->destinationMAC, ps2MAC, 6);
|
memcpy(retARP->destinationMAC, ps2MAC, 6);
|
||||||
|
|
Loading…
Reference in New Issue