arp: add missing host-to-network conversion
Caused ARP requests from seastar to be dropped.
This commit is contained in:
committed by
Avi Kivity
parent
c5d623265d
commit
ec616d7ae5
@@ -114,6 +114,7 @@ arp_for<L3>::make_query_packet(l3addr paddr) {
|
||||
hdr.sender_paddr = _l3self;
|
||||
hdr.target_hwaddr = ethernet::broadcast_address();
|
||||
hdr.target_paddr = paddr;
|
||||
hton(hdr);
|
||||
return packet(reinterpret_cast<char*>(&hdr), sizeof(hdr));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user