Fixed bug in pdp11_xu loopback processing. Now consistent with pdp11_xq. Found by Paul Koning
This commit is contained in:
parent
5727ad1a27
commit
732718e5a7
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ t_stat xu_process_loopback(CTLR* xu, ETH_PACK* pack)
|
||||||
|
|
||||||
memcpy (&response.msg[0], &response.msg[offset+2], sizeof(ETH_MAC));
|
memcpy (&response.msg[0], &response.msg[offset+2], sizeof(ETH_MAC));
|
||||||
memcpy (&response.msg[6], physical_address, sizeof(ETH_MAC));
|
memcpy (&response.msg[6], physical_address, sizeof(ETH_MAC));
|
||||||
offset += 8;
|
offset += 8 - 16; /* Account for the Ethernet Header and Offset value in this number */
|
||||||
response.msg[14] = offset & 0xFF;
|
response.msg[14] = offset & 0xFF;
|
||||||
response.msg[15] = (offset >> 8) & 0xFF;
|
response.msg[15] = (offset >> 8) & 0xFF;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue