]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/sample_app_ug/l2_forward_real_virtual.rst
net: add rte prefix to ether functions
[dpdk.git] / doc / guides / sample_app_ug / l2_forward_real_virtual.rst
index 54e5b8022dd85f7cc39fd3f0b7eba96e45256cf1..bede06ed1eaf93da4d8fc2ced92b92e7d310864c 100644 (file)
@@ -383,7 +383,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);
     }