diff --git a/rtl/arp.v b/rtl/arp.v index 7ebe5c5c..47a0f3e1 100644 --- a/rtl/arp.v +++ b/rtl/arp.v @@ -284,7 +284,7 @@ always @* begin outgoing_arp_tha_next = incoming_arp_sha; outgoing_arp_tpa_next = incoming_arp_spa; end - end else if (incoming_arp_oper == ARP_OPER_INARP_REPLY) begin + end else if (incoming_arp_oper == ARP_OPER_INARP_REQUEST) begin // INARP request if (incoming_arp_tha == local_mac) begin // send reply frame to valid incoming request diff --git a/rtl/arp_64.v b/rtl/arp_64.v index 086b579b..82f456b2 100644 --- a/rtl/arp_64.v +++ b/rtl/arp_64.v @@ -288,7 +288,7 @@ always @* begin outgoing_arp_tha_next = incoming_arp_sha; outgoing_arp_tpa_next = incoming_arp_spa; end - end else if (incoming_arp_oper == ARP_OPER_INARP_REPLY) begin + end else if (incoming_arp_oper == ARP_OPER_INARP_REQUEST) begin // INARP request if (incoming_arp_tha == local_mac) begin // send reply frame to valid incoming request