liteeth/core/arp: fix missing MAC address in ARP reply

This commit is contained in:
Florent Kermarrec 2015-06-22 23:15:00 +02:00
parent 781869d6f9
commit a3c0e5c4d9
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ class LiteEthARPTable(Module):
source.stb.eq(1), source.stb.eq(1),
source.reply.eq(1), source.reply.eq(1),
source.ip_address.eq(sink.ip_address), source.ip_address.eq(sink.ip_address),
source.mac_address.eq(sink.mac_address),
If(source.ack, If(source.ack,
NextState("IDLE") NextState("IDLE")
) )