]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/sample_app_ug/l2_forward_job_stats.rst
net: add rte prefix to ether functions
[dpdk.git] / doc / guides / sample_app_ug / l2_forward_job_stats.rst
index 02c1367f518429cab1918a16e5a2aa542207f9bb..8d0c38721fdab9ca7224a9d0c35aafba1ef10b3c 100644 (file)
@@ -467,7 +467,7 @@ Naturally, the number of ports in the portmask must be even, otherwise, the appl
 
         /* src addr */
 
-        ether_addr_copy(&l2fwd_ports_eth_addr[dst_port], &eth->s_addr);
+        rte_ether_addr_copy(&l2fwd_ports_eth_addr[dst_port], &eth->s_addr);
 
         l2fwd_send_packet(m, (uint8_t) dst_port);
     }