]> git.droids-corp.org - dpdk.git/blobdiff - app/test/packet_burst_generator.c
net/sfc: rename array of SW stats descriptions
[dpdk.git] / app / test / packet_burst_generator.c
index 0fd7290b0e30482048aeece55ff85b577f940667..8ac24577ba84fa7ad711769129cb92c4c93fc5a0 100644 (file)
@@ -56,8 +56,8 @@ initialize_eth_header(struct rte_ether_hdr *eth_hdr,
                struct rte_ether_addr *dst_mac, uint16_t ether_type,
                uint8_t vlan_enabled, uint16_t van_id)
 {
-       rte_ether_addr_copy(dst_mac, &eth_hdr->d_addr);
-       rte_ether_addr_copy(src_mac, &eth_hdr->s_addr);
+       rte_ether_addr_copy(dst_mac, &eth_hdr->dst_addr);
+       rte_ether_addr_copy(src_mac, &eth_hdr->src_addr);
 
        if (vlan_enabled) {
                struct rte_vlan_hdr *vhdr = (struct rte_vlan_hdr *)(