X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fgro%2Fgro_udp4.c;h=e78dda787444f6df2573f052d131ed97cebf6ab8;hb=6c390cee976e33b1e9d8562d32c9d3ebe5d9ce94;hp=b8301296dfab7299da262bd1d2d3dc273a466462;hpb=99a2dd955fba6e4cc23b77d590a033650ced9c45;p=dpdk.git diff --git a/lib/gro/gro_udp4.c b/lib/gro/gro_udp4.c index b8301296df..e78dda7874 100644 --- a/lib/gro/gro_udp4.c +++ b/lib/gro/gro_udp4.c @@ -238,8 +238,8 @@ gro_udp4_reassemble(struct rte_mbuf *pkt, is_last_frag = ((frag_offset & RTE_IPV4_HDR_MF_FLAG) == 0) ? 1 : 0; frag_offset = (uint16_t)(frag_offset & RTE_IPV4_HDR_OFFSET_MASK) << 3; - rte_ether_addr_copy(&(eth_hdr->s_addr), &(key.eth_saddr)); - rte_ether_addr_copy(&(eth_hdr->d_addr), &(key.eth_daddr)); + rte_ether_addr_copy(&(eth_hdr->src_addr), &(key.eth_saddr)); + rte_ether_addr_copy(&(eth_hdr->dst_addr), &(key.eth_daddr)); key.ip_src_addr = ipv4_hdr->src_addr; key.ip_dst_addr = ipv4_hdr->dst_addr; key.ip_id = ip_id;