liteeth/core/arp: fix missing MAC address in ARP reply
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 22 Jun 2015 21:15:00 +0000 (23:15 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 22 Jun 2015 21:15:00 +0000 (23:15 +0200)
misoclib/com/liteeth/core/arp/__init__.py

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